[python-win32] Py2exe and try/except

2008-03-18 Thread le dahut
Hello, I've noticed that when using win32 api in a try/except statement, if the error doesn't appear on the line just after try, I get a .exe.log file. Example : * This genreates .exe.log : try: logging.info('mounting printer') w32print.AddPrinterConnection(printer) except Exception,

Re: [python-win32] Confusion with 'SetForegroundWindow()

2008-03-18 Thread Tim Roberts
Scott Nelson wrote: > FWIW, when the exception is thrown and caught, the window's icon in > the taskbar will blink. I believe this means the window received an > event it can't handle or display? > Right. Either the event loop is busy, or the current foreground application refused to yield.

Re: [python-win32] Library not Registered Error while running

2008-03-18 Thread Tim Golden
siddhartha veedaluru wrote: > Bingo That Worked. > > Thanks, > Tim Goodness! It's so long ago I've forgotten what I even suggested. I'm glad it worked (whatever it was). Probably worth trimming the digest next time, tho', so people know what you're so happy about ;) (For the archives, I assume i

Re: [python-win32] Library not Registered Error while running

2008-03-18 Thread siddhartha veedaluru
Bingo That Worked. Thanks, Tim On Mon, Mar 17, 2008 at 11:25 PM, <[EMAIL PROTECTED]> wrote: > Send python-win32 mailing list submissions to >python-win32@python.org > > To subscribe or unsubscribe via the World Wide Web, visit >http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Skip Alt+F4 (le dahut)

2008-03-18 Thread Mike Driscoll
Hi, > Date: Mon, 17 Mar 2008 14:11:14 +0100 > From: le dahut <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Skip Alt+F4 > To: Paul Moore <[EMAIL PROTECTED]> > Cc: Python-Win32 List > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Oh yes ! Th