Jump to content


Optparse -> Argparse

  • Please log in to reply
No replies to this topic

#1 todd_dsm


    New Member

  • Members
  • Pip
  • 1 posts

Posted 20 November 2014 - 01:01 PM

So, as I'm embarking on my new super-awesome whatever-it-is-program, I check out the optparse section (page 765), then have a few follow up questions. I roll over to the #python (freenode IRC channel) and begin interrogating the peeps. They explain that optparse has been (generally) abandoned for argparse; there's a somewhat terse tutorial as well.

Apparently now argparse is part of the Python Standard Library.

Is it possible to do a chapter on argparse?

As I cannot support this position, I've included this EuroPython lecture: Mark Smith - Writing Awesome Command-Line Programs in Python.

Super-cool book by the way,


Edited by todd_dsm, 20 November 2014 - 01:03 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users