PEP 338: Executing modules inside packages with '-m'

Just just at
Tue Dec 14 12:10:18 CET 2004

In article <mailman.7688.1103013695.5135.python-list at>,
 "Fredrik Lundh" <fredrik at> wrote:

> Just wrote:
> >> as for the rest of your arguments, I have to assume that you were joking.
> >> (or
> >> that you have no experience whatsoever of distribution of Python programs 
> >> in
> >> Unix and Windows environments).
> >
> > Whatever. You suggestion does not work in many cases. How about a
> > program that starts threads? Can't do that as a side effect of import.
> my suggestion was to make sure that the user can type "bar arg" to start a
> Python program called "bar" with the argument "arg".  that's trivial, on all
> major platforms, despite what Nick says -- and yes, you can start threads
> from a program named "bar".  try it.

This subthread was specifically about your

   python -c "import" arg



More information about the Python-list mailing list