(no subject)
Emile van Sebille
emile at fenx.com
Mon May 22 22:10:23 EDT 2000
More information about the Python-list mailing list
Mon May 22 22:10:23 EDT 2000
- Previous message (by thread): (no subject)
- Next message (by thread): (no subject)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You're probably using a name that wasn't previously a file in that directory, so the file is created, and therefore empty when you read it. Try putting a text file there, then reading it. Emile van Sebille emile at fenx.com ------------------- ----- Original Message ----- From: Phoon, David <DPhoon at acnielsen.com.au> To: <python-list at cwi.nl> Sent: Monday, May 22, 2000 6:35 PM Subject: (no subject) > hi > > > I am trying out the tutorial to file reading and writing and when I run > python in nt > eg >>> f=open('c:\temp\myfile.txt','r') > >>> f.read() > yields a blank string..."" > > how do i parse the arguments in open?? > > > thanks > ###################################################################### > CAUTION: This Message may contain confidential information intended > only for the use of the addressee named above. If you are not the > intended recipient of this message you are hereby notified that any > use, dissemination, distribution or reproduction of this message is > prohibited. If you received this message in error please notify your > Mail Administrators immediately. Any views expressed in this > message are those of the individual sender and may not necessarily > reflect the views of ACNielsen. > ###################################################################### > > -- > http://www.python.org/mailman/listinfo/python-list >
- Previous message (by thread): (no subject)
- Next message (by thread): (no subject)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list