Image.open( "C:\test.jpg") is this wrong ?

Simon Brunning simon at brunningonline.net
Mon Aug 27 12:34:51 EDT 2007


On 8/27/07, Carnell, James E <jecarnell at saintfrancis.com> wrote:

> Image.open("C:\test.jpg")

Try:

Image.open(r"C:\test.jpg")

See http://docs.python.org/ref/strings.html

-- 
Cheers,
Simon B.
simon at brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues



More information about the Python-list mailing list