Raw Strings (I Think)

Lanny lanny at freshells.ch
Thu Jul 24 11:02:00 EDT 2008


I've used glob.glob to get a list of files in a directory
and now I want to use os.system to execute one of
those files, the problem is that python automatically
puts a escape charater infront of the back slashes
so the os.system gets X:\\####\\####\\ and is useless,
I think I need to convert my string to a raw string but
I don't know how. 



-- Posted on news://freenews.netfront.net - Complaints to news at netfront.net --



More information about the Python-list mailing list