06 2017 档案

摘要:代码如下: 题目的意思是通过一个函数将列表的列表显示在组织良好的表格中,每列右对齐 ''' apples Alice dogs oranges Bob catscherries Carol moose banana David goose ''' #输出每一列右对齐 我想不应该是字符串最后一个对齐么 阅读全文
posted @ 2017-06-22 00:08 少年用python 阅读(669) 评论(0) 推荐(0)
摘要:代码如下: 45 gold coin1 rope1 dagger1 rubyTotal number of items: 48 Github地址:https://github.com/wangjackc/python 阅读全文
posted @ 2017-06-20 23:17 少年用python 阅读(423) 评论(0) 推荐(0)
摘要:Enter number: 3105168421 突然感觉没什么要注释的,书上的提示说的都全了 踩坑中 Github地址:https://github.com/wangjackc/python 自己在学,没什么高质量代码,慢慢来吧。 阅读全文
posted @ 2017-06-20 23:11 少年用python 阅读(660) 评论(0) 推荐(0)
摘要:安装scrapy 用pip install scrapy 然后用import scrapy 查看是否安装成功 如果没报错则安装成功 如果出现 DLL load failed: 找不到指定程序 则是lxml的原因 不要使用最新的lxml库 先安装scrapy的依赖,lxml最新可能会导致下面的错误 阅读全文
posted @ 2017-06-08 16:29 少年用python 阅读(665) 评论(0) 推荐(0)