The Terminal (Deeper) — Video Resources¶
Best Single Video¶
Python Tutorial: Calling External Commands Using the Subprocess Module by Corey Schafer (~19 min) Why: Bridges the gap between knowing terminal commands and controlling them from Python. Covers subprocess.run, capturing output, handling errors, piping commands, and shell=True safety considerations. The essential video for Python developers who want to automate terminal workflows.
Alternatives¶
- Python Tutorial: Pathlib - The Modern Way to Handle File Paths by Corey Schafer (~30 min) — File path manipulation is one of the most common terminal-adjacent tasks in Python. This video covers pathlib, which replaces many os.path operations with a cleaner, object-oriented API. Essential for anyone working with files from Python scripts.
- Python Tutorial: Zip Files - Creating and Extracting Archives by Corey Schafer (~10 min) — Covers Python's zipfile module for creating and extracting archives programmatically. A practical terminal skill translated into Python.
Deep Dives¶
- Python Threading Tutorial by Corey Schafer (~16 min) — When terminal commands take a long time, threading lets you run multiple in parallel. This video explains threading with examples that include running external processes concurrently.
- Python Tutorial: Securely Manage Passwords and API Keys with DotEnv by Corey Schafer (~10 min) — Environment variables are fundamental to terminal-based workflows. This video covers .env files, the python-dotenv package, and secure secrets management, skills every developer needs when working at the command line.
Last verified: February 2026