Re: Calling a function from a custom module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 19, 2010 at 12:52:41AM -0400, saulgoode@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> Quoting "Jason S." <forums@xxxxxxxxxxxxx>:
> > 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: romanofski@xxxxxxxx

Attachment: signature.asc
Description: Digital signature

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

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux