Rework into Python

I got fed up with C. What can I say?
Refactor