码迷,mamicode.com
首页 >  
搜索关键字:py3    ( 526个结果
Python3基础 sys.path 查看搜索路径变量
                      python : 3.7.0   & ...
分类:编程语言   时间:2018-10-02 20:25:25    阅读次数:258
安装mysql-connector-python-8.0.11-py3.6遇到问题
1.提示“This application requires Visual Studio 2015 Redistributable” 下载vc_redist.x86安装即可。 下载链接:https://download.microsoft.com/download/6/D/F/6DF3FF94-F7 ...
分类:数据库   时间:2018-09-30 12:49:55    阅读次数:559
Python3基础 list zip 将两个列表打包起来
                      python : 3.7.0   & ...
分类:编程语言   时间:2018-09-24 21:09:41    阅读次数:221
Python3基础 delattr 删除对象的属性
                      python : 3.7.0   & ...
分类:编程语言   时间:2018-09-24 21:09:30    阅读次数:138
Python3基础 str capitalize 返回新字符串,第一个字母大写
                      python : 3.7.0   & ...
分类:编程语言   时间:2018-09-24 20:05:31    阅读次数:151
Python3基础 str while+iter+next 字符串的遍历
                      python : 3.7.0   & ...
分类:编程语言   时间:2018-09-24 20:01:44    阅读次数:139
Python学习之路-随笔03 多线程/进程和协程(上篇)
最近东西积攒了太多,感觉再不写进来就要炸了。 1.多线程 1.11 关于多线程的包 相关的python包有几个,比如thread包,到py3改成_thread,而thread有一些问题使得不是很好用。通用的包叫threading。最近都是在用这个。 1.12 threading的使用和常用属性 需要 ...
分类:编程语言   时间:2018-09-19 01:22:19    阅读次数:192
请忽略我这个弱智写的py3的创建文件系统不会写日后看情况改
#!/usr/bin/envpythoncoding=utf-8print(‘echo"---">/sys/class/scsi_host/host0/scan‘)print(‘echo"---">/sys/class/scsi_host/host1/scan‘)print(‘echo"---&q
分类:其他好文   时间:2018-09-18 16:11:00    阅读次数:160
Python3.x和Python2.x的区别
1.性能 Py3.0运行 pystone benchmark的速度比Py2.5慢30%。Guido认为Py3.0有极大的优化空间,在字符串和整形操作上可 以取得很好的优化结果。 Py3.1性能比Py2.5慢15%,还有很大的提升空间。 2.编码 Py3.X源码文件默认使用utf-8编码,这就使得以下 ...
分类:编程语言   时间:2018-09-16 21:04:20    阅读次数:169
python2与python3的区别
- 编码&字符串 字符串: py2: unicode v = u"root" 本质上用unicode存储(万国码) (str/bytes) v = "root" 本质用字节存储 py3: str v = "root" 本质上用unicode存储(万国码) bytes v = b"root" 本质上用 ...
分类:编程语言   时间:2018-09-10 18:01:57    阅读次数:175
526条   上一页 1 ... 17 18 19 20 21 ... 53 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!