Getopt template for Python

Getopt is a simple-to-use and powerful library for parsing command line options. There exist bindings for many languages including Python. After  I implemented the simplistic replacement of the Lumix MapTool in Python,  I created a small template which may be reused in future applications.

Executable example code is hosted on GitHub.


  • [1] getopt (Wikipedia, EN)
  • [2] getopt Python module reference
  • [3] Example code on GitHub

Leave a Reply