[Tutor] Re: Tutor digest, Vol 1 #1863 - 5 msgs

Charlie Clark charlie@begeistert.org
Tue, 20 Aug 2002 22:17:23 +0000


On 2002-08-20 at 16:00:05 [+0000], you wrote:
> > file =3D file('C:\filename.txt', 'w')
> > x =3D 'hello, sir'
> > file.write(x)

I may have missed this earlier but "c:\filename.txt" in Python does not 
equal c:\filename.txt in a windows box. It has to be "c:/filename.txt" or 
"c:\\filename.txt"

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
D=1Asseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226