On Fri, 22 Nov 2013 05:51:21 -0800, Himanshu Garg wrote: > I want that print "hello" should appear on screen as well as get saved > in a log file. > > How can I accomplish this?
print "hello" logfile.write("hello\n") Does that satisfy your need? If not, please explain in more detail what you are trying to do, what you have already tried, and what happened when you tried it. -- Steven -- https://mail.python.org/mailman/listinfo/python-list