4 ms·
use argparse .
by kracekumar 15y ago
use argparse .
- jmau5 15y agoI'm reading through a bit of the Python docs right now, but after I finish I'll check out argparse. Much appreciated. :)
- kracekumar 15y agoMy pleasure. In case I have time I ll try forking it. :)
- jmau5 15y agoargparse is such a cool module! Whoever knew that command line arguments could be dealt with in a such a beautiful way? I've integrated it into reddit.py and it made the `if __name__ == "__main__"` block look much more professional.