[Python-ideas] Python as a tool to download stuff for bootstrapping

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Jul 10 09:51:25 CEST 2012


2012/7/10 anatoly techtonik <techtonik at gmail.com>:
> Wow! Nice, but still a hack. I doubt many people wouls accept magic
> files messing in the root dir of the package. The only way it will
> look good is:
>
>     python -m update_sdk.zip sdk_update[.py]
>
> but I don't know if that's supported.

-m does work with zip files (with a __main__.py file) and command line
arguments are passed.
Or did you expect another kind of support?

-- 
Amaury Forgeot d'Arc



More information about the Python-ideas mailing list