Part 3: Python Tricks learned this week
This week I was researching on creating a simple server that will run on RaspberryPi and display some images & videos. I learned the following
- Using ConfigParser as replacement to .ini files
- Pythonic interface to Arduino
- Using codecs for encoding/decoding e.g. ROT13
- Using heapq for priority queue implementation
heapq can be combined with multiprocessing to do priority based works.