how to use the string '\\.\'
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Apr 9 09:12:37 EDT 2007
En Mon, 09 Apr 2007 08:21:44 -0300, Duncan Booth
<duncan.booth at invalid.invalid> escribió:
> <kelvin.you at gmail.com> 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'\\.' '\\'
--
Gabriel Genellina
More information about the Python-list
mailing list