argparse Lesson 3: Validation & Errors — Data Safety, Type Checking Learn how to validate command-line arguments in Python using argparse—type checking, required flags, choices, and custom validators with real examples.