上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: Question 1: 列中有中文 Traceback (most recent call last): File "~/PycharmProjects/ltest/scripts/py_matlab.py", line 17, in <module> ages, weights, heights 阅读全文
posted @ 2017-02-16 11:31 ZSR0401 阅读(536) 评论(0) 推荐(0) 编辑
摘要: Python-Matplotlib 2 Numpy Result 阅读全文
posted @ 2017-02-16 10:49 ZSR0401 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Python-Matplotlib 1 Introduce & ENV 阅读全文
posted @ 2017-02-16 10:24 ZSR0401 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 报错了!说明:作用域中,既使用了全局变量,又想对全局变量重新赋值,是不被允许的。 阅读全文
posted @ 2017-02-15 14:44 ZSR0401 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 上面代码中,%s是占位符,也叫字符串的格式化。整数是%d,浮点数为%f,但%s可包括所有,为啥不用%s...还少记了东西,好懒... print中引号内的%s个数要与引号外面的%()中的变量个数相同。 os.system(cmd)或os.popen(cmd),前者返回值是脚本的退出状态码,后者的返回 阅读全文
posted @ 2017-02-15 14:24 ZSR0401 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Link : http://www.cnblogs.com/LilianChen/p/4072346.html Link : http://www.cnblogs.com/LilianChen/p/4072346.html Link : http://www.cnblogs.com/LilianCh 阅读全文
posted @ 2017-02-15 10:04 ZSR0401 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 由于Python是动态语言,所以list中包含的元素并不要求都必须是同一种数据类型,我们完全可以在list中包含各种数据 Python 中 dict 的特点 dict的第一个特点是查找速度快,无论dict有10个元素还是10万个元素,查找速度都一样。而list的查找速度随着元素增加而逐渐下降。 不过 阅读全文
posted @ 2017-02-14 16:23 ZSR0401 阅读(194) 评论(0) 推荐(0) 编辑
摘要: http://python.usyiyi.cn/translate/django_182/topics/db/models.html 每个元组中的第一个元素,是存储在数据库中的值;第二个元素是在管理界面或 ModelChoiceField 中用作显示的内容。 在一个给定的 model 类的实例中,想 阅读全文
posted @ 2017-02-13 16:38 ZSR0401 阅读(203) 评论(0) 推荐(0) 编辑
摘要: http://python.usyiyi.cn/translate/django_182/topics/index.html 使用 Django¶ 介绍Django的所有关键部分,您需要知道: 如何安装 Django 模型和数据库 处理HTTP请求 处理表单 模板 基于类的视图 迁移 管理文件 Dj 阅读全文
posted @ 2017-02-13 10:22 ZSR0401 阅读(138) 评论(0) 推荐(0) 编辑
摘要: http://python.usyiyi.cn/translate/django_182/intro/whatsnext.html 文档的组成 文档是如何更新的 最新的文档在下面 https://docs.djangoproject.com/en/dev/. 下载为本地HTML文件 你可以通过以下简 阅读全文
posted @ 2017-02-10 17:04 ZSR0401 阅读(260) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页