Hi,

        I am new to Python. I was trying to use os.unlink function in
windows. But i am getting error:
OSError: [Errno 2] No such file or directory:
'C:\\SHAMBHU\\tmp\\text_delete.txt'

Input file to os.unlink is: 'C:\SHAMBHU\tmp\text_delete.txt'. But os.unlink
is adding extra backslash with pathname. I tried with Python2.5 and
Python3.1 but got same error.
Please suggest how to remove this error.

-- 
If linux doesn't have a solution, then u have a wrong problem.

Shambhu Kumar Sharma
91-98864 91913
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to