python bad file descriptor

welcome to shbcf.ru