[Tutor] Distributing Python Code for Commercial Porpoises?
alan.gauld at btinternet.com
Sun Aug 8 00:33:03 CEST 2010
"Emile van Sebille" <emile at fenx.com> wrote
> As others have mentioned, don't use idle as you're doing. Give
> pythonwin (included with the activestate distribution) a try. Or
> try one of the free versions of Komodo or Wing.
In fact I'd strongly recommend not to use ANY development tool to
run your programs. These tools are designed to make life easy while
writing code, they are not intended to be used to execute final code.
They trap errors, they redirect output, they ignore signals and all
manner of things intended to prevent you from having to restart
your development tool while developing. But those traps are
hiding errors that will crop up in the real world.
Always test deployable code in a real, native execution environment
- outside the development tool and outside the development folder
structure too. Include the installation process (whether automated
or manual) in your test.
Author of the Learn to Program web site
More information about the Tutor