Lucas

导航

2018年1月23日 #

安装jupyter notebook 出错 解决办法

摘要: 环境win7 64位 python 3.4 用pip 安装jupyter notebook一直抱错 错误是一堆日志,最后一句大概是这个样子:storing debug log for failure in 。。 在网上搜了好多教程没有解决,最后升级了pip 成功解决。 没成功安装jupyter no 阅读全文

posted @ 2018-01-23 19:24 莲蓉馅的和氏璧 阅读(3967) 评论(0) 推荐(0) 编辑

2017年11月25日 #

pip 安装 更新 卸载

摘要: 安装: 更新: 卸载: 阅读全文

posted @ 2017-11-25 16:58 莲蓉馅的和氏璧 阅读(180) 评论(0) 推荐(0) 编辑

2017年11月13日 #

数据结构与算法

摘要: 【1】将一个包含N个元素的元组或序列,分解为N个独立的变量。 阅读全文

posted @ 2017-11-13 19:46 莲蓉馅的和氏璧 阅读(122) 评论(0) 推荐(0) 编辑

python3中urllib和python2的区别

摘要: Python 2 name Python 3 name urllib.urlretrieve() urllib.request.urlretrieve() urllib.urlcleanup() urllib.request.urlcleanup() urllib.quote() urllib.parse.quote() urllib.qu... 阅读全文

posted @ 2017-11-13 13:11 莲蓉馅的和氏璧 阅读(2219) 评论(0) 推荐(0) 编辑

2017年11月6日 #

查找matplotlib 配置文件目录

摘要: import matplotlib as mpl print(mpl.get_configdir()) 阅读全文

posted @ 2017-11-06 18:41 莲蓉馅的和氏璧 阅读(1047) 评论(0) 推荐(0) 编辑

2017年11月5日 #

用pyinstall打包.py文件

摘要: 基本方法: 具体参数: General Options What to generate What to bundle, where to search How to generate Windows and Mac OS X specific options Windows specific op 阅读全文

posted @ 2017-11-05 12:34 莲蓉馅的和氏璧 阅读(1663) 评论(0) 推荐(0) 编辑

2017年11月4日 #

查询Python支持的.whl格式

摘要: 结果: 例: 阅读全文

posted @ 2017-11-04 21:56 莲蓉馅的和氏璧 阅读(540) 评论(0) 推荐(0) 编辑

2017年10月13日 #

内置模块之os

摘要: os模块主要提供对操作系统进行调用的接口,具体内容如下: 阅读全文

posted @ 2017-10-13 20:22 莲蓉馅的和氏璧 阅读(132) 评论(0) 推荐(0) 编辑

内置标准库之time

摘要: 标准库都比较基础,就简单的把官方手册的内容选取一些copy过来,以备日后翻阅。 首先Python是从1970年开始记录时间,也就是Unix诞生那年。UTC也就是所谓的世界标准时间,DST代表夏时令。 The epoch is the point where the time starts. On J 阅读全文

posted @ 2017-10-13 16:21 莲蓉馅的和氏璧 阅读(175) 评论(0) 推荐(0) 编辑

2017年10月12日 #

迭代器(iterator)

摘要: 要了解迭代器,我们先来了解迭代对象(Iterable) 迭代对象分为两类: 第一类:集合数据类型,如list、tuple、dict、set、str等 第二类:generator,包括生成器和带yield的generator 上述两类都是可以直接作用于 for 循环,所以说可迭代对象就是可直接作用于 阅读全文

posted @ 2017-10-12 16:46 莲蓉馅的和氏璧 阅读(157) 评论(0) 推荐(0) 编辑