anuradha.raghupathy2...@gmail.com wrote:
Hi,
Below is the python code that I have. I want to redirect the output to my
C drive..myapp.log.
I am editing and creating scripts in IDLE and running it as a python shell
or module.
Can you help?
import logging
def main():
Dennis Lee Bieber wrote:
On Tue, 06 Nov 2012 13:26:11 +0100, Peter Otten __pete...@web.de
declaimed the following in gmane.comp.python.general:
anuradha.raghupathy2...@gmail.com wrote:
[snip]
def main():
logging.basicConfig(Filename='c://myapp.log', level=logging.ERROR)
Python
Thanks ...this works perfectly fine now.
On Tuesday, November 6, 2012 11:28:46 PM UTC+5:30, Prasad, Ramit wrote:
Dennis Lee Bieber wrote:
On Tue, 06 Nov 2012 13:26:11 +0100, Peter Otten __pete...@web.de
declaimed the following in gmane.comp.python.general: