10 2016 档案

摘要:用CMD测试代码的时候,因为CMD默认用gbk支持print(),当UTF字符集出现超出GBK编码的字符是就会出现: UnicodeEncodeError: ‘gbk’ codec can’t encode character u’\u200e’ in position 43: illegal mu 阅读全文
posted @ 2016-10-27 17:43 stephen2016 阅读(289) 评论(0) 推荐(0)
摘要:用PYTHON关闭显示器很方便,网上找的代码,保存为PY,直接运行即可。 阅读全文
posted @ 2016-10-25 13:14 stephen2016 阅读(831) 评论(0) 推荐(0)
摘要:解压: 设定 PATH 以及 GOROOT: 验证: 阅读全文
posted @ 2016-10-16 17:55 stephen2016 阅读(317) 评论(0) 推荐(0)
摘要:在 pip install GeoIP是收到如下错误提示: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). 解决方案就是安装VISUAL STUDIO 2010. 阅读全文
posted @ 2016-10-11 15:28 stephen2016 阅读(91) 评论(0) 推荐(0)
摘要:在python 2.7里 print是表达式,使用双引号打印字符串。 而在python 3.4里 print是函数,使用括号打印字符串。 阅读全文
posted @ 2016-10-09 16:20 stephen2016 阅读(180) 评论(0) 推荐(0)