[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

[python-win32] python print statements

2009-01-07 Thread Nalli Dinesh
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 accomplish this scenario. Thanks

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 accompl

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 _

[python-win32] Serial port permissions

2009-01-07 Thread Steve Cody
I have an application monitoring and decoding data that arrives at a serial port. I'm using pyserial and everything works fine under Linux. When I attempt to run it on Windows, however, I am denied access to the serial port. The Windows machine is on a corporate domain with all the usual paranoid