Michael Robertson schrieb:
> 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
> 
>>>> open('./my test/test.txt')
> Exception

Works for me

>>> open('./my test/test.txt')
<open file './my test/test.txt', mode 'r' at 0xb7dd6a40>

Christian

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to