What does -m in python -m pip install <package>
mean ?
or while upgrading pip using python -m pip install --upgrade pip
.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Django __str__ returned non-string (type NoneType)
- Evil ctypes hack in python
From Python Docs
The
-m
stands formodule-name
.From Command line and environment:
If you type
python --help
You get
A great many things in a terminal will show you how to use it if you either use
command --help
orman command