![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
ftian_
奋斗的青春最美丽!
展开
-
python os.path 模块详解
os.path.abspath(path) #返回绝对路径os.path.basename(path) #返回文件名os.path.commonprefix(list) #返回list(多个路径)中,所有path共有的最长的路径。os.path.dirname(path) #返回文件路径os.path.exists(path) #路径存在则返回True,路径损坏返回Falseos.path....原创 2018-04-11 14:03:04 · 162 阅读 · 0 评论 -
安装gevent For Python
Issue: ImportError: No module named gevent1、下载gevent源码,并解压http://pypi.python.org/packages/source/g/gevent/2、编译安装agilematoMacBook-Pro:gevent-0.13.1 agile$ python fetch_libevent.pyagilematoMacBook-Pro:g...转载 2018-04-20 16:39:02 · 370 阅读 · 0 评论 -
PyDev:warning: Debugger speedups using cython not found
在eclipse下调试代码开始时总提示一个警告:warning: Debugger speedups using cython not found. Run ‘”/usr/bin/python2.7” “/home/guyadong/j/eclipse.neon/dropins/PyDev 5.6.0/plugins/org.python.pydev_5.6.0.201703221323/pysr...转载 2018-04-20 16:43:14 · 834 阅读 · 0 评论