On Mon, Apr 19, 2010 at 12:52:41AM -0400, 
saulgo...@flashingtwelve.brickfilms.com wrote:
> Quoting "Jason S." <for...@gimpusers.com>:
> > def fout:
> >     f = open("C:\testFile.dat")
> >     f.write("Hello World!")
> >     f.close()
> 
> Doesn't the backslash need to be escaped in Python string constants?
I guess that could be it. I just wonder why it throws an execution
error and not an IOError...

Cheers,
-- 
Roman Joost
www: http://www.romanofski.de
email: romanof...@gimp.org

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to