[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
[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
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