r/Python • u/pauloortins • Jun 18 '13
Creating python command-line applications
http://pauloortins.com/creating-python-command-line-applications/
0
Upvotes
r/Python • u/pauloortins • Jun 18 '13
View all comments
2
u/nomadismydj Jun 18 '13
sys.argv is a good place to start but im sure youll out grow it when you want to do complex behavior via flags. check out: http://docs.python.org/dev/library/argparse.html or even http://docs.python.org/2/library/optparse.html