"Gabriel Genellina" <[EMAIL PROTECTED]> wrote:

> En Mon, 09 Apr 2007 08:21:44 -0300, Duncan Booth  
><[EMAIL PROTECTED]> escribió:
> 
>> <[EMAIL PROTECTED]> wrote:
>>
>>> print r'\\.\'
>>
>> See the FAQ:
>> http://www.python.org/doc/faq/general/#why-can-t-raw-strings-r-strings
>> -end-with-a-backslash 
> 
> This form is not included in the FAQ alternatives (should it?):
> 
> print r'\\.' '\\'
> 
> 
Yes it is. It is just the first of the FAQ suggestions using single quotes 
instead of double quotes. If you wanted to add another one then I would go 
for:

    os.path.normpath("/this/is/my/dos/dir")

although it doesn't work with the particular example in question here.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to