python avoid global variables

visit shbcf.ru