with open('file/userinfo',encoding='utf-8') as f1,\ # open('file/userinfo.new',mode='a',encoding='utf-8') as f2: