python fastest way to write to file

welcome to shbcf.ru