A command line’s tools dream come true

  • Optparse: option handling
  • Subprocess: elegant

Ideas for command line tools

  • Pure Python - no systems calls but do Unix stuff
  • Unix Mashups: mix python + system to solve new problems
  • Network tools
  • Wrapping over existing tools

The basics: Subprocess + Optparse

  • Use subprocess.call
  • If stout is needed, use subprocess.Popen

Some ideas

  • Mix threading