摘要: python2 和 python3 的except子句语法不同 Python2默认ascII编码,不支持中文 一般在程序的开头加上 coding:utf 8 来解决这个问题,但是在用open()方法打开文件时,中文名字却显示成了乱码。 open(filename, 'w')这个方法中,filenam 阅读全文
posted @ 2020-04-27 09:28 friedCoder 阅读(141) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_41481113/article/details/88410973 阅读全文
posted @ 2020-04-27 09:24 friedCoder 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 安装的时候会提示安装地址,我的是environment location: C:\Program1\Anaconda3\envs\py27 阅读全文
posted @ 2020-04-27 06:35 friedCoder 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 进入python交互界面 比如:python3.6 输入import platform 再输入platform.architecture() 阅读全文
posted @ 2020-04-27 06:29 friedCoder 阅读(382) 评论(0) 推荐(0) 编辑