Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

List of "python -m" tools

128 views
Skip to first unread message

Miki Tebeka

unread,
Jan 11, 2015, 11:18:06 PM1/11/15
to
Greetings,

I've compiled a list of "python -m" tools at pythonwise.blogspot.com/2015/01/python-m.html.

Did I miss something? What are your favorite "python -m" tools?

Thanks,
--
Miki

Steven D'Aprano

unread,
Jan 12, 2015, 12:24:16 AM1/12/15
to
The three I use all the time are:

- doctools
- unittest
- my own custom test suites



--
Steven

Christian Heimes

unread,
Jan 12, 2015, 1:09:18 AM1/12/15
to pytho...@python.org
My all time favorite is "python -me", https://pypi.python.org/pypi/e.
It's a small yet elegant tool for the command line.

Christian



Chris Angelico

unread,
Jan 12, 2015, 1:26:48 AM1/12/15
to pytho...@python.org
On Mon, Jan 12, 2015 at 5:08 PM, Christian Heimes <chri...@python.org> wrote:
> My all time favorite is "python -me", https://pypi.python.org/pypi/e.
> It's a small yet elegant tool for the command line.

That's cool!

ChrisA

Irmen de Jong

unread,
Jan 13, 2015, 6:01:34 PM1/13/15
to
python -m calendar
python -m test.pystone
python -m antigravity


Irmen

Albert-Jan Roskam

unread,
Jan 14, 2015, 4:39:22 AM1/14/15
to Irmen de Jong, pytho...@python.org
cool, thanks.

You say "Python 2.7.9 and 3.x comes with an easy way to install pip. Run python -m ensurepip and pypi is at your service." .

But here https://docs.python.org/3/library/ensurepip.html it says that "This module does not access the internet. All of the components needed to bootstrap pip are included as internal parts of the package." So pypi is not involved, right?

Albert-Jan

alex23

unread,
Jan 14, 2015, 11:16:23 PM1/14/15
to
On 14/01/2015 7:33 PM, Albert-Jan Roskam wrote:
> You say "Python 2.7.9 and 3.x comes with an easy way to install pip. Run python -m ensurepip and pypi is at your service." .
> But here https://docs.python.org/3/library/ensurepip.html it says that "This module does not access the internet. All of the components needed to bootstrap pip are included as internal parts of the package." So pypi is not involved, right?

The original comment doesn't mean that PyPI is involved in the
installation, but that installing it allows for packages to be installed
via PyPI. Obviously that isn't true if you're not net-enabled, but pip
can still handy for installing local packages.

Miki Tebeka

unread,
Jan 16, 2015, 4:57:47 AM1/16/15
to
Thanks for all the answers!
0 new messages