Hi!
When I get file path from DirDialog, I get in a (path) variable.
Sometimes that string (path) contains special escape sequences, such as \x,
\r and so on.
'C:\Python25\Programs\rating'
When I try to open that file (whose name contains escape sequences) it
doesn't work.
I know that raw string marker 'r' in front of string leaves char '\' as
character and not as start of escape sequences,
but I can not apply it to a variable name which contains file path.
Is there a function with same effect as raw string marker, as my problem
must be solved differently?
Can you help me?
Kind regards,
Neven
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor