环境描述:Windows10自己部署一个flask项目#/usr/bin/pythonenv#coding:utf8fromflask_scriptimportManagerfromflask_bootstrapimportBootstrapfromflask_momentimportMomentfromdatetimeimportdatetimefromflask_wtfimportFlaskF
分类:
数据库 时间:
2018-03-27 20:56:11
阅读次数:
538
Python3+django+nginx+uwsgi使用场景部署
分类:
编程语言 时间:
2018-01-15 17:38:02
阅读次数:
208
/usr/bin/pythonenv
#-*-coding:UTF-8-*-
#字符串string用‘‘或者""或者‘‘‘‘‘‘来表示
name=‘Whatisyourname?‘
>>>name.capitalize()#字符串首字母大写
‘Whatisyourname?‘
>>>name="sushi"
>>>name.title()#首字母大写
‘SuShi‘
>>>name.uppe..
分类:
编程语言 时间:
2017-09-04 22:37:19
阅读次数:
238
This will get you going with the latest version of pyenv and make it easy to fork and contribute any changes back upstream. Check out pyenv where you ...
分类:
编程语言 时间:
2016-06-02 13:04:07
阅读次数:
168
virtualenv
Python有着庞大的开源社区的支持,很自然就产生这么一个问题:第三方包参差不齐,如果我们想在服务器测试,或者升级某个包,就会导致生产环境产生杂乱,多余的第三方依赖包。
virtualenv就是来解决这个问题的,virtualenv可以生成多个的Python环境,各个环境相互独立,互不影响,且和正式环境一模一样。
1、安装
pip install virtualen...
分类:
编程语言 时间:
2014-07-10 17:34:19
阅读次数:
895