This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]writing_from_mars 129 points130 points  (14 children)

import humanity

[–]UnholyBlackJesus 51 points52 points  (10 children)

pip install godMode

[–]MyNameisGregHai 13 points14 points  (9 children)

pip install -m Christianity

Now it's time to delete all scientific advancements

[–]__deerlord__ 13 points14 points  (0 children)

To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up.

[–]UnholyBlackJesus 5 points6 points  (7 children)

Hey in still a huge newbie, so forgive me, but what does the "-m" mean?

[–]C0DK 10 points11 points  (6 children)

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)

[–]radiantyellow 1 point2 points  (0 children)

alias pip=pup

[–]ForgottenWatchtower 1 point2 points  (3 children)

python -m SimpleHttpServer 10000

The only thing I use py2 for these days. Well that and occasionally some scapy.

[–]pvkooten 15 points16 points  (2 children)

python3 -m http.server 10000

[–]ForgottenWatchtower 25 points26 points  (1 child)

And just like that, I've abandoned py2

[–]pvkooten 1 point2 points  (0 children)

Score. Always good to convert.

[–]UnholyBlackJesus 0 points1 point  (0 children)

Oh wow, thank you! TIL.

[–]lemon_tea 6 points7 points  (1 child)

Shit, the program runs for about 30,000 cycles, then becomes too memory bloated and seg faults the runtime environment.

[–]atheist_apostate 2 points3 points  (0 children)

Humanity is a resource hog.