11 2015 档案

摘要:PEP8 Python 编码规范一 代码编排1 缩进。4个空格的缩进(编辑器都可以完成此功能),不使用Tap,更不能混合使用Tap和空格。2 每行最大长度79,换行可以使用反斜杠,最好使用圆括号。换行点要在操作符的后边敲回车。3 类和top-level函数定义之间空两行;类中的方法定义之间空一行;函... 阅读全文
posted @ 2015-11-30 18:25 LABCD 阅读(227) 评论(0) 推荐(0)
摘要:OS:Windows 8.1 64-bit编程语言:Python 3.4 64-bit1. 安装Python2. 安装Setuptools3. 安装pip4. 安装seleniumpip install selenium5. 测试 selenium 可用c:\>pythonPython 3.4.1 ... 阅读全文
posted @ 2015-11-10 11:25 LABCD 阅读(110) 评论(0) 推荐(0)
摘要:OS:Ubuntu 14.04Sqllite:sqlite-autoconf-3090200.tar.gz1. 下载wget http://www.sqlite.org/2015/sqlite-autoconf-3090200.tar.gz2.解压tar -xzvf sqlite-autoconf-... 阅读全文
posted @ 2015-11-09 23:16 LABCD 阅读(274) 评论(0) 推荐(0)
摘要:OS: Ubuntu 14.04.03 DesktopFlask: 0.10.1lxl@ubuntu:~$ sudo pip install flaskThe directory '/home/lxl/.cache/pip/http' or its parent directory is not o... 阅读全文
posted @ 2015-11-09 17:30 LABCD 阅读(655) 评论(0) 推荐(0)
摘要:OS: Ubuntu 14.04.03 Desktop安装Setuptoolswget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python安装Piphttps://pypi.python.org/packages/source/p/pip... 阅读全文
posted @ 2015-11-09 17:24 LABCD 阅读(157) 评论(0) 推荐(0)