我的源代码:#!/usr/bin/env python# -*- coding: utf-8 -*-file = open(r"D:\Android\python\test.txt","w+")
file.write('hello')
file.read()python test1.py后,用记事本打开文件显示乱码,请问这是怎么回事啊?
1 回答
- 1 回答
- 0 关注
- 1167 浏览
添加回答
举报
0/150
提交
取消