- 博客(3)
- 收藏
- 关注
原创 python 创建http服务器命令
在想共享的目录下执行 python -m SimpleHTTPServer 8080,然后就可以在浏览器访问http://yourIP:8080就能看到执行命令时所在的目录下的文件和文件夹
2018-01-24 15:12:01
281
原创 scrapy item类名必须有Item字样
items.py 名字必须有Item,如果没有Item在运行时会提醒如写 File "/home/apuser/dong/scrapy-itzhaopin/itzhaopin/itzhaopin/spiders/tencent_spider.py", line 88, in parse_item item['ID'] = site.css('tr > td.id a::tex
2018-01-24 10:17:01
618
原创 Exception Value: 'ascii' codec can't encode character u'\u2013' in position 38: ordinal not in range
参考http://blog.csdn.net/zniahfag/article/details/51471006?locationNum=7 ###########################log start ############################ Django Version: 1.11.7 Python Version: 2.7.6 Installed Ap
2017-12-20 10:48:01
608
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人