Learn Enough Python to be Useful: argparse


If you plan to be a software developer with Python, you’ll want to be able to use argparse for your scripting needs. If you’re a data scientist, you’ll likely find yourself needing to port your code from a Jupyter Notebook to a reproducible script.

You should always be in the process of refactoring useful code you've written in Jupyter out into modular scripts that can be called from and piped together from the command line. Argparse is a great tool in your kit as you do that.

I love this. Straightforward, very useful.


Want to receive more content like this in your inbox?