Re: [python-win32] pywin32 setup.py forgets win32/lib

2013-11-12 Thread Christian Tismer
On 11/11/13 08:51, Mark Hammond wrote: On 11/11/2013 10:23 AM, Christian Tismer wrote: Hi Mark, Yes, I understand very well, knowing the patching dance so much more than I'd like to... In fact, 'win32/lib' is a folder, actually the only one which is not also a package, and exactly this one d

Re: [python-win32] Python Error:WindowsError: [Error 32] The process cannot access the file.

2013-11-12 Thread Tim Golden
[Manu: it would help if you were to follow the convention on this list and post your answer underneath or within the text to which you're replying.] [... description of removing files raising WindowsError 32 because the file is in use by another process ...] On 12/11/2013 12:32, manu agarwal wrot

Re: [python-win32] Python Error:WindowsError: [Error 32] The process cannot access the file.

2013-11-12 Thread manu agarwal
Hi , I caught the Exception using this code: try: print(file) os.remove(file) continue except WindowsError as e: print e But i am still not able to delete the files it only caught the exception i

Re: [python-win32] Python Error:WindowsError: [Error 32] The process cannot access the file.

2013-11-12 Thread Tim Golden
On 12/11/2013 10:05, manu agarwal wrote: > I am getting the below error while executing the script on one of the > application server. > > *WindowsError: [Error 32] The process cannot access the file because it > is being used by another process* > * > * > Script used to delete the files from the

[python-win32] Python Error:WindowsError: [Error 32] The process cannot access the file.

2013-11-12 Thread manu agarwal
Hi, I am getting the below error while executing the script on one of the application server. *WindowsError: [Error 32] The process cannot access the file because it is being used by another process* Script used to delete the files from the server. I had used os.remove(file) and tried with os.u