Revision 14 as of 2009-05-31 23:00:16

Clear message

Creating Command Line Tools With Python

The Python standard library has many modules that make creating commandline tools quite simple. Often command line tools are made with pure Python modules, or are a mixture of calls to an operating system and Python, through the subprocess module. Some of the commonly used modules to create commandline tools are: optparse, configparser, and subprocess.

For sysadmins familiar with Bash scripting: Beginner Level, circa 02/2008

Using Python To Create Unix Commandline Tools: Beginning/Intermediate Level

Command line tool with optparse, subprocess, and logging: Beginning/Intermediate level

PyCon2008 Presentation on Command Line Tools: Intermediate Level

Unable to edit the page? See the FrontPage for instructions.