摘要: 1. 安装Python 下载链接:https://www.python.org/getit/ 我这边下载的是3.6.5的版本的执行版本,安装过程中选择自动安装pip 2.安装django pip install Django==1.11 3.创建项目 django-admin startprojec 阅读全文
posted @ 2018-05-05 12:57 Arish 阅读(262) 评论(1) 推荐(0) 编辑
摘要: 安装numpy windows安装pip即可,具体方法参考pip官网 http://pip-cn.readthedocs.io/en/latest/installing.html 安装方法:pip install numpy-1.14.3-cp27-none-win_amd64.whl 功能介绍: 阅读全文
posted @ 2018-05-03 14:45 Arish 阅读(210) 评论(0) 推荐(0) 编辑
摘要: PIL安装很麻烦,推荐下载exe直接安装 PIL官网:http://pythonware.com/products/pil/ 但现在里面下载链接访问不了,我把32位和64位版本上传到博客园以供下载 PILwin32:http://files.cnblogs.com/files/pcat/PILwin 阅读全文
posted @ 2018-04-30 14:00 Arish 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 在Mysql数据库中,常用的引擎主要就是2个:Innodb和MyIASM。这篇文章将主要介绍这两个引擎,以及该如何去选择引擎,最后在提一下这2种引擎所使用的数据结构是什么。 首先介绍一下Innodb引擎。 Innodb引擎提供了对数据库ACID事务的支持。并且还提供了行级锁和外键的约束。它的设计的目 阅读全文
posted @ 2018-04-29 13:56 Arish 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1. filter 官方解释:filter(function or None, sequence) -> list, tuple, or string Return those items of sequence for which function(item) is true. If functi 阅读全文
posted @ 2018-04-29 13:47 Arish 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 基于python2.7 的一些学习总结 你好,世界! 备注:需要声明编码格式为gbk或者utf-8才可以输出中文 乘方 变量 获取用户输入 注:input接受的是Python代码,输入中可以访问当前执行环境中的变量,如果想获取原始输入需要使用 raw_input。 函数定义 强类型 Javascri 阅读全文
posted @ 2017-12-20 13:32 Arish 阅读(282) 评论(1) 推荐(0) 编辑