[Python-ideas] Making -m work for scripts

Ram Rachum ram at rachum.com
Fri Jun 12 13:06:17 CEST 2015

Thanks Ned!

On Fri, Jun 12, 2015 at 2:03 PM, Ned Batchelder <ned at nedbatchelder.com>

> On 6/11/15 1:23 PM, Ram Rachum wrote:
>> Hi,
>> What do you think about making `python -m whatever` work also for
>> installed scripts and not just for modules? I need this now because I've
>> installed pypy on Linux, and I'm not sure how to run the `nosetests` of
>> PyPy (in contrast to the `nosetests` of the system Python.) It's sometimes
>> a mess to find where Linux installed the scripts related with each version
>> of Python. But if I could do `pypy -m nosetests` then I'd have a magic
>> solution. What do you think?
> This works today:
>     $ python -m nose
> --Ned.
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150612/5e5774b2/attachment.html>

More information about the Python-ideas mailing list