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@netfront.n et --
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@netfront.n et --
Comment