r/Python • • Oct 05 '16

Python Cheat Sheet

https://www.cheatography.com/davechild/cheat-sheets/python/
79 Upvotes

32 comments sorted by

View all comments

19

u/goocy Enthusiast Oct 05 '16

Five separate entries for sys.argv[1:5] seem a bit superfluous.

8

u/[deleted] Oct 05 '16

Especially because there is argparse, which is a very convenient library for making command line tools.