sdenton4 / pipic

Tools for Raspberry Pi photography
GNU General Public License v2.0
62 stars 19 forks source link

Parse parameter #1

Closed shinncchen closed 10 years ago

shinncchen commented 10 years ago

You can parse arguments with the python module argparse. It does produce a much cleaner code. Below is an example on how to use it.

https://github.com/smithje/RGB_LED_Driver/blob/master/RGB_Driver.py

sdenton4 commented 10 years ago

Ok, just switched to argument parser; the code is indeed cleaner, thanks!