摘要: 转自http://www.oschina.net/code/snippet_1448389_33526原来是有的时候网站将网页用gzip压缩了 1 """ 2 迪艾姆公司python远程培训班 黄哥所写 3 python远程视频培训班 周末班 4 迪艾姆python培训周末班北京3月8、上海3月9... 阅读全文
posted @ 2014-10-20 23:06 ustbyolanda 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 在用Eclipse编写Python代码时,如果代码或注释中包含中文,运行程序会出现SyntaxError: Non-ASCII character问题。解决方法:在代码的第一行添加# coding=utf-8即可解决问题。 阅读全文
posted @ 2014-10-09 17:51 ustbyolanda 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 刚才添加一个chardet模块,安装后IDE可引用,使用正常,但在Eclipse中import chardet报错。解决方法:在Eclipse的window->preference->PyDev->Interpreter-Python中,libraries标签下,点击New Egg/Zip(s),然... 阅读全文
posted @ 2014-09-23 16:55 ustbyolanda 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 查看日志发下如下错误。 ERRORorg.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException: Call to ... failed on local exception: java.net.NoRouteToHostException:No route to host 解决方案是:关闭防火墙service iptables stop 阅读全文
posted @ 2013-09-02 18:01 ustbyolanda 阅读(220) 评论(0) 推荐(0) 编辑
摘要: http://www.lpssz.edu.cn/s/119/t/284/a/2468/i/1/info.jspy非常详细的教程,收藏备用 阅读全文
posted @ 2013-08-30 16:19 ustbyolanda 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 这个问题遇到好多次了,这次解决以后一定把方法记录下来,方便以后再用。比如要进入E:\my college\internship\目录下,需要先输入cd "e:\my college\internship"回车e:回车如图,OK,问题解决:) 阅读全文
posted @ 2013-08-29 12:30 ustbyolanda 阅读(515) 评论(0) 推荐(0) 编辑