Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing Awesome Command-Line Programs in Python

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of crafting robust command-line programs in Python through this comprehensive EuroPython Conference talk. Delve into essential aspects such as structuring code, leveraging standard library tools, and utilizing third-party libraries to elevate your command-line applications. Learn about option parsing, configuration management, output formatting, and handling streamed input. Discover best practices for exit values, interactive apps, and organizing multiple programs around a shared codebase. Gain insights into command-line frameworks, testing methodologies, and the differences between Python 2 and 3 for command-line tool development. Master the art of creating efficient, user-friendly, and powerful command-line interfaces that can scale from simple scripts to complex applications.

Syllabus

Intro
Welcome
About me
About this talk
Why write commandline programs
Dont throw away scripts
What makes up a commandline application
Commandline interface
Signals
CommandLine Parsing
Oddpass
SubCommands
InputOutput
StandardOut and StandardError
Logging
User Interface
Color
Progress
IO
Configuration
ConflictParser
Signal
Exit Codes
Other C frameworks
Questions

Taught by

EuroPython Conference

Reviews

Start your review of Writing Awesome Command-Line Programs in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.