Python安装安装.whl包(安装pylint) Pylint 是一个 Python 代码分析工具,它分析 Python 代码中的错误,查找不符合代码风格标准和有潜在问题的代码。 1,,下载.whl文件:pylint-1.8.1-py2.py3-none-any.whl 下载地址:https:// ...
分类:
编程语言 时间:
2017-12-27 22:41:05
阅读次数:
249
# -*- coding:utf-8 -*-
# Auther:Leon
import getpass
user=input("请输入账号:")
pwd=getpass.getpass("请输入密码:")
if user == "leon" an
分类:
其他好文 时间:
2017-12-21 12:01:13
阅读次数:
124
try: from StringIO import StringIO except ImportError: from io import StringIO ...
分类:
其他好文 时间:
2017-12-21 11:57:34
阅读次数:
134
py3来装Scrapy,老是提示error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visua ...
分类:
编程语言 时间:
2017-12-19 12:28:11
阅读次数:
162
1.版本1:初始化 2.版本2:打开关闭方法 3.版本3:增加修改删除 4.版本4:抛出异常,参数化 5.版本5:查询 6.版本6:获取单条数据 7.版本7:封装完成 8 当做第三方模块导入 ...
分类:
其他好文 时间:
2017-12-16 14:54:24
阅读次数:
190
Views And Iterators Instead Of Lists Some well-known APIs no longer return lists: dict methods dict.keys(), dict.items() and dict.values() return “vie ...
分类:
其他好文 时间:
2017-12-12 12:28:11
阅读次数:
151
taiga是github上搜project management star最多的项目: 但是,它是2014年开发的,2015年获各种奖。 taiga的部署,总的来说非常难受。我没想到一个后端用django做api 前端coffee-script的玩意,竟然搞这么多配置文件,各种配置项互相引用。 越是 ...
分类:
系统相关 时间:
2017-12-10 11:14:04
阅读次数:
278
Virtual Environments ensure that dependencies from one Python application don’t overwrite the dependencies of another application. In this lesson, you ...
分类:
编程语言 时间:
2017-12-09 19:19:39
阅读次数:
174
ubuntu17 设置python3为默认及一些库的安装 Ubuntu默认Python为2.7,所以安装Python包时安装的为py2的包。 利用alternatives机制更改py3为默认。 shell里执行: sudo update-alternatives --install /usr/bin ...
分类:
编程语言 时间:
2017-12-07 14:54:37
阅读次数:
201
world_population.py: countries.py: country_codes.py: ...
分类:
Web程序 时间:
2017-12-06 00:47:35
阅读次数:
406