Python: code cleanup