[melbourne-pug] raw string prob
miked at dewhirst.com.au
Mon Feb 1 06:27:08 CET 2010
Thanks everyone - the stackoverflow discussion was interesting.
On 01/02/2010, at 4:04 PM, Richard Jones <r1chardj0n3s at gmail.com> wrote:
> On 01/02/2010, at 3:30 PM, Mike Dewhirst wrote:
>> Can anyone please explain tyhis for me?
>> Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
>> (Intel)] on win32
>> Type "help", "copyright", "credits" or "license" for more
>>>>> raw = r'J:\'
>> File "<stdin>", line 1
>> raw = r'J:\'
>> SyntaxError: EOL while scanning string literal
> (quick answer: it's because the quote character may be escaped with
> the backslash even in a raw string)
> melbourne-pug mailing list
> melbourne-pug at python.org
More information about the melbourne-pug