I'm having trouble opening a file in linux, whose path has spaces in it.
$ mkdir my\ test
$ echo test my\ test/test.txt
$ python
Exception
Exception
but yet...
works just fine.
$ mkdir my\ test
$ echo test my\ test/test.txt
$ python
>>open('./my test/test.txt')
>>open('./my\\ test/test.txt')
but yet...
>>import os
>>os.chdir('./my test')
>>open('./test')
>>os.chdir('./my test')
>>open('./test')
Comment