Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Using Optparse, Subprocess, and Doctest To Make Unix Utils

Loading...

Sign in or sign up now!
704 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 25, 2008

Noah Gift

Most developers use Unix derived command line tools, written in C, everyday. This talk will discuss using the Python Standard Library modules, Optparse, Subprocess, and Doctest, to create equally robust tools in pure Python. There has been a lot of talk recently about Web 2.0 mashups, but the same concepts can be applied to creating command line tools in Python.




I will be discussing how easy it is to combine the power of the Optparse module, with the flexibility of the Subprocess module, to create standalone, and "mashup" tools from existing, and widely available Unix utilities. Finally, Doctests can be embedded to serve as an important documentation and testing tool for your newly created Unix mashup tool.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • fix the audio !

  • Can't hear!

  • oh yeah, its TERRIBLE!

  • Awful sound quality. :-(

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more