How to work with directories and files with spaces
s99999999s2003 at yahoo.com
s99999999s2003 at yahoo.com
Thu Apr 6 06:07:25 EDT 2006
hi
I am working in unix and i have some directories names with spaces
eg ABC DEF A
how can i work effectively with spaces in directory/file names in
python?
sometimes when i do os.path.join(dir_with_spaces,"-somestring" ) , it
gives me "-somestring" as the name only...without ABC DEF A
it should give me ABC DEF A-somestring as the directory name
thanks
More information about the Python-list
mailing list