[python-win32] frame state test ?

2009-01-07 Thread Romain Gilles
Hi, I would like to test the state of a frame because when I try to access the document within the frame I get this error: File C:\projects\python\webstress\src\webstress.py, line 124, in wait_browser self.ie.poll_while_not_complete() File c:\projects\python\webstress\src\IEC.py, line

Re: [python-win32] python print statements

2009-01-07 Thread Jim Vickroy
Nalli Dinesh wrote: Hi, python print statements are extensively used in my application for debugging purpose. My application is ready, but I do not want to remove the print statements and at the same time I do not want python interpreter to execute/run the print statements. How can I

Re: [python-win32] python print statements

2009-01-07 Thread Michel Claveau
Hi! 1) Define your print function. Example: def mprint(*par): for i in par: print i, print 2) in your code, replace all 'print' by 'mprint' 3) when you want cancel the print, modify only the mprint function. @-salutations -- Michel Claveau