by another process
Python version - 2.5.4
I guess my output should be like this for the next day
-a new log file rotate_test. should generate in the respective
location
Please correct me if I am wrong.
Thanks for your time.
Regards,
Lokesh
--
http://mail.python.org/mailman/listinfo/python-list
over()
File "c:\Python25\lib\logging\handlers.py", line 274, in doRollover
os.rename(self.baseFilename, dfn)
WindowsError: [Error 32] The process cannot access the file because it is
being used by another process
Python version - 2.5.4
Thanks for your time.
Regards,
Lokesh
On Mon, Au
- %(levelname)s - %(message)s
datefmt='%Y-%m-%d %H:%M:%S'
Thanks or your time
Regards,
Lokesh
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot for the responses ppl. Python's treatment of global
variables was an eye-opener. I have coded in Java & C/C++ in the past
and there the behaviour is diametrically opposite.
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Hi. Sorry to sound like a noob but that's what I am when it comes to
Python. I just wrote the below module and it behaves funny.
My python module:
_exitcode = 0
def setExitCode():
_exitcode = 1
if __name__ == '__main__':
print _exitcode
setExitCode()
print _exitcode
Actual O/P: