Anaconda
摘要:Anaconda下载 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ miniconda(python+conda) https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ 安装C
阅读全文
posted @
2019-12-30 16:11
liehen2046
阅读(121)
推荐(0)
selenium page objects
摘要:下载地址 https://test.pypi.org/simple/selenium page objects/
阅读全文
posted @
2019-12-30 11:01
liehen2046
阅读(125)
推荐(0)
logging模块
摘要:例示 简介 Python的logging模块提供了通用的日志系统,可以方便第三方模块或者是应用使用。这个模块提供不同的日志级别,并可以采用不同的方式记录日志,比如文件,HTTP GET/POST,SMTP,Socket等,甚至可以自己实现具体的日志记录方式。 logging模块与log4j的机制是一
阅读全文
posted @
2019-12-14 16:41
liehen2046
阅读(167)
推荐(0)
python源码
摘要:初学者 1. GitHub kennethreitz/pip pop: Tools for managing requirements files. 2. GitHub kennethreitz/envoy: Python Subprocesses for Humans™. 3. GitHub ke
阅读全文
posted @
2019-07-19 09:46
liehen2046
阅读(405)
推荐(0)
gherkin
摘要:语法 The primary keywords are: Feature Rule (as of Gherkin 6) Scenario (or Example) Given, When, Then, And, But (steps) Background Scenario Outline (or
阅读全文
posted @
2019-07-15 14:57
liehen2046
阅读(295)
推荐(0)
打印函数名
摘要:从内部取 通过sys模块 通过inspect模块
阅读全文
posted @
2019-07-10 10:28
liehen2046
阅读(129)
推荐(0)
python常用库
摘要:作者:史豹 链接:https://www.zhihu.com/question/20501628/answer/223340838 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 环境管理 管理 Python 版本和环境的工具 p – 非常简单的交互式 python
阅读全文
posted @
2019-06-22 01:44
liehen2046
阅读(438)
推荐(0)
python异步
摘要:https://blog.csdn.net/weixin_35993084/article/details/80834088
阅读全文
posted @
2019-06-22 01:43
liehen2046
阅读(115)
推荐(0)
Python装饰器
摘要:https://www.cnblogs.com/cicaday/p/python decorator.html
阅读全文
posted @
2019-06-22 01:42
liehen2046
阅读(89)
推荐(0)
Python2.x与Python3.x的主要区别(转)
摘要:python2.x和python3.x版本有很大的差异,除了依赖包的名称变化很大外,其主要差异总结如下: 1)print函数 Python3中,print函数的括号是必须的,Python2是可选的。 2)键盘读取输入方面 Python3只保留input()函数,且输入数据全部作为字符串处理;Pyth
阅读全文
posted @
2019-06-22 01:41
liehen2046
阅读(151)
推荐(0)
Flask使用记录
摘要:关于FLASK框架的使用 使用pycharm创建工程 在默认的templates中新增模板页面 在默认的app.py中定义路由并引用模板 关于日志,可以使用FLASK自带的LOG模块 关于模板的使用 我创建了一个base.html基础模板用于继承 其它模板 关于FORM 建立MyForm类,这里使用
阅读全文
posted @
2019-03-21 17:42
liehen2046
阅读(419)
推荐(0)
迁移virtualenv环境
摘要:记录一次将window上的virtualenv部署至LINUX服务器 前提 你已经使用virtualenv创建了一个虚拟的python运行环境,并且已经完成了你的应用的开发,现在需要将工程部署到服务器了。 警告:如果你想将WINDOW上的venv直接复制到linux上的运行的话,那是根本行不通的。
阅读全文
posted @
2019-03-21 11:42
liehen2046
阅读(2050)
推荐(0)