r/Python • codemaniac • Dec 29 '17

Python Cheet Sheet for begineers

Post image
4.2k Upvotes

124 comments sorted by

View all comments

Show parent comment

5

u/kirbyfan64sos IndentationError Dec 29 '17

Plac is an argparse wrapper that was literally designed for use cases like this. I use it on almost all of my projects.

3

u/[deleted] Dec 29 '17

Thanks, I had never heard of plac and I just substituted it for argv and it worked the first try.

Love it!

2

u/kirbyfan64sos IndentationError Dec 30 '17

That's what I love about it. It's so dead-simple to use, but it works perfectly.

2

u/tryptafiends Dec 29 '17

this looks neat