随笔分类 -  Python

pytho3 学习笔记
摘要:在用python3的可视化,需要导入matplotlib,在sublime text3编译时直接报错: 然后在终端导入运行正常,同时能够显示出matplotlib的查看器。那为什么会这样呢? 打印出来的错误时属性问题,就是在numbers中不存在Integral。但是并没有导入numbers,即使第 阅读全文
posted @ 2017-11-10 09:35 Davis-Yang 阅读(1201) 评论(2) 推荐(0)
摘要:Mac-Mini:~ BBT$ pip3 install matplotlib Collecting matplotlib Downloading matplotlib-2.1.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_ 阅读全文
posted @ 2017-11-09 09:03 Davis-Yang 阅读(4260) 评论(0) 推荐(1)
摘要:读取文件的中每一行:空白行的出现和每一行查询的失败原因: 阅读全文
posted @ 2017-10-24 09:10 Davis-Yang 阅读(359) 评论(0) 推荐(0)
摘要:players = ['charles','martina','michael','florence','eli']print(players)#获取类表的子集(索引为1-3)print(players[1:4])#['martina', 'michael', 'florence']#不指定起始的位 阅读全文
posted @ 2017-09-25 08:45 Davis-Yang 阅读(173) 评论(0) 推荐(0)