Hi All, I use httplib module. By h.set_debuglevel(1) I start debugging but the output is written to DOS window. How can I divert the output to file instead. Thank you for help. Ladislav