文章
CentOS7安装python3
1、安装编译Python3的相关依赖<pre<codeyuminstallzlibdevelbzip2developenssldevelncursesdevelsqlitedevelreadlinedeveltkdevelgccmakelibff
the ssl module in Python is not available错误解决
在使用pip安装pymongo的过程中报错,提示如下:1$pip3installpymongo2pipisconfiguredwithlocationsthatrequireTLS/SSL,howeverthesslmoduleinPythonisnotavailable.3Coll
tango with django(第三章 Django基础)
3.1测试你的配置pythonversion 如果你使用了虚拟环境,不要忘记激活。 确定django是否安装好。Python2.7.12(default,Dec42017,14:50:18)GCC5.4.020160609onlinux2Type"help","c
svg mimetype在uliweb中的设置
发现plugs(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Flimodou%2Fplugs)中的wiki在python2.6下以img方式显示svg不正确,经检查是contenttype不对,正确的应该是image/svgxml。但是在2.7下就
supervisor的command执行两条命令
如下supervisor的进程的comand配置参数只能写一个命令1、要执行多条命令,可以写个sh文件包含多条命令,然后shx xxxx.sh,但这样又多了一个文件,2、把所有命令放在字符串,然后用eval来执行,这样在shell窗口可以执行,但放在supervisor报找不到eval命令。比如:commandeval "
sublime配置python运行环境
1.sublime下载与插件管理1.1下载官网地址:https://www.sublimetext.com/3(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.sublimetext.com%2F3)1.2安装Pac
sublime学习(一)
(一)目录结构可扩式版本的sublime的目录都放在Data目录下如下,不同的操作系统有不同的目录:Windows:_%APPDATA%\\SublimeText2_OSX:_~/Library/ApplicationSupport/SublimeText2_Linux:_~/.
sublime与python交互
点击菜单栏中的工具—编译系统,勾选Python即可 创建hello.py文件,CtrlS保存文件,CtrlB执行文件,结果如下图!(https://oscimg.oschina.net/oscnet/c28202d736869281e2267c6868b6c7c393e.png)3.sublime运行python文件的
sublime text 3搭建python 的ide
感谢大佬原文链接(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.zhihu.com%2Fquestion%2F22904994%2Fanswer%2F87527103)1\.打开Sublimetext3安装packagecontrol
Trie 的原理和实现 (python 实现)
原理:(fromwiki)Incomputerscience(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fen.wikipedia.org%2Fwiki%2FComputer_science),atrie,orprefixtree,isano
已加载文章中没有匹配内容,试试其他关键词或清空搜索。