Problem with smtplib and py2exe

Mike Driscoll kyosohma at gmail.com
Tue Apr 8 11:57:46 EDT 2008


On Apr 8, 10:17 am, Kevin <kdoi... at sympatico.ca> wrote:
> Thanks, Terry, you pointed me in the right direction with the
> reference to the "DEBUG".
>
> I dug out my "Learning Python" book, to read up on the debugger, and
> one of the things I came across was a section on IDLE's debugger. It
> said essentially that if you get an error that doesn't make sense when
> you're trying to run another program (in this case, py2exe) with IDLE,
> then run the program from the command line instead.  I did that, and
> much to my surprise, I was able to generate the 'exe' that I needed.
>
> I guess the incompatibility isn't necessarily between 'py2exe' and
> 'smtplib' after all, but between 'py2exe' and 'IDLE'.

I also recommend trying out GUI2Exe, a cool GUI wrapper for the py2exe
program that allows developers to create executables quickly and
easily. It also saves all your settings, which is nice if you need to
re-compile frequently.

I found it here: http://xoomer.alice.it/infinity77/main/GUI2Exe.html

Mike



More information about the Python-list mailing list