As promised, a refurbished, shiny sounding.py (in a zip. The system doesnt allow me to attach a .py file)
Now everything works as I understood was expected.
File has been documented up to a level and code reformatted for robustness and efficiency.
I also ran a static code analysis (pylint):
The original file produced a global score of -8.93/10 :ohmy:
The refurbished file scored 9.85/10 :woohoo:

Read More...