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

Simon Brunning simon at brunningonline.net
Mon Aug 27 18:34:51 CEST 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