[Tutor] release a script with non-standard dependencies

eryksun eryksun at gmail.com
Thu Dec 20 02:20:00 CET 2012


On Wed, Dec 19, 2012 at 6:45 PM, Steven D'Aprano <steve at pearwood.info> wrote:
>
> 4) Bundle the modules together in one file. If you zip up the modules
> in a zip file as if it were a package, *without* the package directory,
> then change the file extension to .py, you can run it as if it were a
> single Python script (at least under Linux, I haven't tried Windows or
> Mac).

This works in Windows. If it's a GUI app use the extension .pyw to run
without a console.


More information about the Tutor mailing list