Quoting "Jason S." <for...@gimpusers.com>:

> Hey all. I'm more or less a beginner when it comes to GIMP scripting  
>  (though I
> do have a few years of exp in general development) and I've run into a bump
> with PyGimp that I was hoping someone might be able to give me a hand with.
> As general practice, I've written a function that I put inside a file called
> "ofstream.py" (placed in the same folder as gimpfu.py), which consists of:
> 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?

Gimp-developer mailing list

Reply via email to