andy wrote:
> Is there a special reason you want to use Python to do this? The Linux
> command shell would probably do exactly the same job (you can specify
> backslash-escaped characters at the command-line)...
>
> anyway to do it in python:
>
> import os
> os.remove("/path/to/the/file/.\17
Is there a special reason you want to use Python to do this? The Linux
command shell would probably do exactly the same job (you can specify
backslash-escaped characters at the command-line)...
anyway to do it in python:
import os
os.remove("/path/to/the/file/.\177\177")
Note that under Lin
hi
i have a filen with a funny name like \177\177. I guess someone hit
backspace or something before saving it.
It's hidden and it shows when i type ls with the -b switch on unix.
How can i remove this file using python?
--
http://mail.python.org/mailman/listinfo/python-list
hi
i have a filen with a funny name like \177\177. I guess someone hit
backspace or something before saving it.
It's hidden and it shows when i type ls with the -b switch on unix.
How can i remove this file using python?
thanks
--
http://mail.python.org/mailman/listinfo/python-list