Parse parameter
Closed this issue · 1 comments
shinncchen commented
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
Ok, just switched to argument parser; the code is indeed cleaner, thanks!