i keep getting this error: WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'F:/Term/cmdrun/new.log' how can i make the logging module stop loggin to new.log so it can be moved and renamed?

Hello,

Your going to have to find out what application is using the file. Not as hard as it sounds. Open Task Manager and then go to the tab labled Performance and click the Performance Monitor at the bottom. When it opens up select the Disk tab at the top and then under disk activity find the file that is giving you problems. You should see the process id for the application that is accessing it which should be listed under the top section.

how would i make the python applaction stop the process?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.