Message79478
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. |
|
Date |
User |
Action |
Args |
2009-01-09 17:09:28 | markpennock | set | recipients:
+ markpennock |
2009-01-09 17:09:27 | markpennock | set | messageid: <1231520967.76.0.559191938843.issue4900@psf.upfronthosting.co.za> |
2009-01-09 17:09:26 | markpennock | link | issue4900 messages |
2009-01-09 17:09:26 | markpennock | create | |
|