In this video, we learn how to set boolean parameters of a Python script directly from the command line. We use a class from the arparse library that gives us the --parameter or --no-parameter functionality for True or False values, respectively.
You can find the code shown in the tutorials in the associated GitHub repository:
https://github.com/kamilazdybal/python-for-academics
☕️ If you'd like to support my efforts, you can buy me a coffee:
https://www.buymeacoffee.com/kamilazdybal
0 Comments