Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8000
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <tjhanson@yahoo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'received:localnet': 0.07; 'python': 0.08; 'received:prem.mail.sp1.yahoo.com': 0.09; 'linux': 0.11; 'subject:file': 0.14; '2.6,': 0.16; 'subject:opening': 0.16; 'oriented': 0.23; 'windows': 0.26; "can't": 0.32; 'to:addr:python- list': 0.33; 'header:User-Agent:1': 0.35; 'using': 0.35; 'charset :us-ascii': 0.36; 'to:addr:python.org': 0.39; 'unix': 0.40; 'header:Message-Id:1': 0.62 |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id; b=MsHUzk/Ts36RXw/Ow6TJqwgpklHt/7yiv1pmxc+qJ3nzuziISZEUikJyUJpeitLELuu13shv3gBp2kaAzH9euNeLI0Q9wJ9N/0T57s+wMfrRwX4oEmw58DXSUcASxMFoVVTrGm5LfOVTcV8s1E7h9gTmCrAl0v+tZu7tTeszMoE= ; |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1308549651; bh=r7PB/zINeLcmCJDUmHO96yQ7yhfBFs6GOOHhRT3fus8=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id; b=suKFzr/mNVrwC1Xk2SSCIw+2G5QduG42MXe31Tq0nE5eZxspkNLe+yaza1C2jR/R8QRkk9ESFqWjsL5Vbivd+UjCGQ/xHktPzmGxsxBliFRtusAenkSiRQnB3tDqtSDudfnNeg1EHscRYC6MaRYV+vnXI0RQwe+wJp1pXM2qUHE= |
| X-Yahoo-Newman-Property | ymail-3 |
| X-YMail-OSG | 0RFbQW8VM1nB9U8PN2lXgEb1Eh17kZd1gYEs0k2qfWrAFMk TEIxZL2VkDgy0NiCBxjlsGFPzB_.I94Ck8SNwiJiykvV.cNSezodFolaDN3D 4TOOk.MjYgfiaOBBGFEZslrWeGU8JxMKREWyMqH9PUx52vJIXQt2fvZlBzGQ tMmwvlVAU66sccYxrvIrfok6BeXac0qxVnq_4w53MkIzFb2pxgeKpbkO4y3V xXPQiTHVj0tNf0N8DrUHlRdx514_vqeguTq5I4Hc976PqAm7AY5rLqGxIGm6 LzuXZLE.hU8INqK9YAc0qHoiKbAqN_JQVsiDnfZvMSIjDUF.BBpNQmIGHtO7 zZFHFU.1uik_TlMjcoSd5D0Zcf568xzIlFQfN0JI- |
| X-Yahoo-SMTP | ciZ_JB2swBCwV1RbFb6pS8DGd4MO |
| From | Tim Hanson <tjhanson@yahoo.com> |
| To | python-list@python.org |
| Subject | opening a file |
| Date | Sun, 19 Jun 2011 23:00:38 -0700 |
| User-Agent | KMail/1.13.5 (Linux/2.6.32-32-generic; KDE/4.4.5; x86_64; ; ) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.170.1308550055.1164.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1308550055 news.xs4all.nl 49048 [::ffff:82.94.164.166]:40141 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8000 |
Show key headers only | View raw
Using linux and Python 2.6, learning how to work with files from a Windows
oriented textbook:
This works:
infile=open('/foo/bar/prog/py_modules/this_is_a_test','r')
This doesn't:
infile=open('~/prog/py_modules/this_is_a_test','r')
Can't I work with files using Unix expressions?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
opening a file Tim Hanson <tjhanson@yahoo.com> - 2011-06-19 23:00 -0700 Re: opening a file Nobody <nobody@nowhere.com> - 2011-06-20 11:01 +0100
csiph-web