Argparse lets you pass in user defined arguments to you code before it runs, this is a great way to change specific parts without editing your code or taking in user input. This video covers the very basics, and is aimed at someone who has never used argparse before - there’s a lot more to it than just this but I hope that this will give you a good idea of what you can achieve with it and maybe make your life a little easier when running your repeatable web scrapers.

Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases

Digital Ocean (Cloud Servers, Affiliate Link) - https://m.do.co/c/c7c90f161ff6

Sound like me:
microphone https://amzn.to/36TbaAW
mic arm https://amzn.to/33NJI5v
audio interface https://amzn.to/2FlnfU0

Video like me:
webcam https://amzn.to/2SJHopS
camera https://amzn.to/3iVIJol
studio lights https://amzn.to/3aBpKik
small lights https://amzn.to/2GN7INg

#python

Argparse Basics - How I Run My Scripts Via The Command Line
1.05 GEEK