Simon Willison’s Weblog

Subscribe

Python Cookbook: Parsing the command line (via) Using optparse, but with the command line setup options stored in the program’s docstring.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe