#cli

Argparse Module - 3/9

Published at February 1, 2021 ·  3 min read

Heya fellows, This is part 3 of the multi-part series “The Evolution of a Script”. The code of this post can be found on Github (see here). Contents A Simple Script Sys Module Argparse Module Distribution via Installation Script Distribution via Setup File Testing and Continuous Integration Documentation Publishing at PyPI Publishing at Anaconda One of the big benefits of using argparse is that it generates a usage help (a --help flag) automatically....


Sys Module - 2/9

Published at January 26, 2021 ·  4 min read

Heya fellows, This is part 2 of the multi-part series “The Evolution of a Script”. The code of this post can be found on Github (see here). Contents A Simple Script Sys Module Argparse Module Distribution via Installation Script Distribution via Setup File Testing and Continuous Integration Documentation Publishing at PyPI Publishing at Anaconda The sys modules sys.argv is a list that gives us access to all command line arguments passed to the Python script....