Newbie - help in opening and reading a file from >>>
Jerome Chan
eviltofu at rocketmail.com
Sun Mar 26 16:17:37 EST 2000
In article <TnsD4.31426$X4.937735 at news1.rdc1.on.wave.home.com>, "Dan
Howard" <va3ma at rac.ca> wrote:
> Hi
> I've just installed 1.5 on my Windows 98Se system
> I'm trying to execute the following-
> >>>f=open('C:\Autoexec.bat')
> and I get a no such directory or file error
> Is there some parameter or path that I must set?
> Would apprecaite any clues...
> Dan
>
>
You must escape the \?
More information about the Python-list
mailing list