MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/9oqlvl/i_made_this_with_python_so_proud/e7w85a9/?context=3
r/Python • u/[deleted] • Oct 16 '18
149 comments sorted by
View all comments
Show parent comments
13
pip install -m Christianity
Now it's time to delete all scientific advancements
6 u/UnholyBlackJesus Oct 16 '18 Hey in still a huge newbie, so forgive me, but what does the "-m" mean? 11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
6
Hey in still a huge newbie, so forgive me, but what does the "-m" mean?
11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
11
there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instance
python3 -m unittest
runs the unit testing framework, which automically looks for tests in the current directory.
from the help text :
-m mod : run library module as a script (terminates option list)
1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
1
Oh wow, thank you! TIL.
13
u/MyNameisGregHai Oct 16 '18 edited Oct 18 '18
pip install -m Christianity
Now it's time to delete all scientific advancements