How to obtain GMT offset?

2005-08-15 Thread new pip
I'm using Windows os. If the current system date time is '28 Jun 2001 14:17:15 +0700', how can I obtain the value '+0700' using python? Thank you -- http://mail.python.org/mailman/listinfo/python-list

RotatingFileHandler in Python 2.3.5

2005-05-16 Thread new pip
Is the RotatingFileHandler (from the logging module) available in Python 2.3.5? I'm getting a "AttributeError: 'module' object has no attribute 'RotatingFileHandler'" error message when trying to use it. Thank you -- http://mail.python.org/mailman/listinfo/python-list

RE: Detect console close

2005-05-16 Thread new pip
> > >new pip wrote: >> In Windows, when I double click on my .py file, the program runs with >> a console. How can I detect when the console is closed? Any code >> samples are appreciated. > >When the console has closed, your program has already exited, if I >u

Detect console close

2005-05-15 Thread new pip
In Windows, when I double click on my .py file, the program runs with a console. How can I detect when the console is closed? Any code samples are appreciated. Thank you. -- http://mail.python.org/mailman/listinfo/python-list