python refactoring

welcome to shbcf.ru