[Tutor] ok

Magnus Lycka magnus@thinkware.se
Thu, 05 Sep 2002 15:12:29 +0200


>"Morne" <fromclay@maxitec.co.za> writes:
>
>  You have two options here:
>
>1. Double all the backslashes ("C:\\my documents\\ppp.log"). "\\" is
>    the escape sequence to insert a backslash into the string.
>
>2. Put an "r" before the string, like this:
>
> >>> r"C:\my documents\ppp.log"

A third (and more convenient) solution is to use forward
slashes in paths as God intended.

"C:/my documents/ppp.log"


--=20
Magnus Lyck=E5, Thinkware AB
=C4lvans v=E4g 99, SE-907 50 UME=C5
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se