Hi Peter
On Feb 10, 11:10 am, Peter Otten <[email protected]> wrote:
[...]
> > Hmm ... thanks for mentioning this feature, I didn't know of it
> > before. Sounds great, except that I gather it needs Python >2.5? I'm
> > stuck with v2.4 at the moment unfortunately...
>
> You can import and run explicitly,
>
> $ PYTHONPATH mylib.zip python -c'import mainmod; mainmod.main()'
>
> assuming you have a module mainmod.py containing a function main() in
> mylib.zip.
That looks very useful -thanks for the tip!
J^n
--
http://mail.python.org/mailman/listinfo/python-list