This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markpennock
Recipients markpennock
Date 2009-01-09.17:09:25
SpamBayes Score 0.0659863
Marked as misclassified No
Message-id <1231520967.76.0.559191938843.issue4900@psf.upfronthosting.co.za>
In-reply-to
Content
error reading files in python 2.5

reports files don't exist under certain conditions

*Doesn't Work Code*
f = open("D:\test.html", "r").read()

*Does Work Code*
(Change file name and retry)

f = open("D:\Test.html", "r").read()

*Comments*
i tried different file types and names all of which made no difference.
When I copied the file (Windows XP) of the file it automatically adds
"Copy of" to the name. I then narrowed it down to the Capital letter in
the name.
History
Date User Action Args
2009-01-09 17:09:28markpennocksetrecipients: + markpennock
2009-01-09 17:09:27markpennocksetmessageid: <1231520967.76.0.559191938843.issue4900@psf.upfronthosting.co.za>
2009-01-09 17:09:26markpennocklinkissue4900 messages
2009-01-09 17:09:26markpennockcreate