Re: How to work with directories and files with spaces

2006-04-06 Thread Larry Bates
[EMAIL PROTECTED] wrote: > 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

Re: How to work with directories and files with spaces

2006-04-06 Thread Michele Petrazzo
[EMAIL PROTECTED] wrote: > 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? Like you can do with unix: michele:~$ echo "Michele" > my\ name michele:~$ python Python 2.3.5 (#2, Ma

How to work with directories and files with spaces

2006-04-06 Thread s99999999s2003
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