03 2012 档案

摘要:Introductionpip installs packages. Python packages.If you usevirtualenv-- a tool for installing libraries in a local and isolated manner -- you'll automatically get a copy of pip. Free bonus!Once you have pip, you can use it like this:$ pip install SomePackageSomePackage is some package you' 阅读全文

posted @ 2012-03-23 10:17 蛇小狼 阅读(2348) 评论(0) 推荐(0)

该文被密码保护。

posted @ 2012-03-21 10:57 蛇小狼

摘要:# -*- coding: utf-8 -*-import os,renum = 0for root, dis, files in os.walk('G:\\paopaoyu\\apps'): for fil in files: p = re.compile('\W*.py$') m = p.search(fil) if m: #print fil f = file(root + '\\' + fil) temp = 0 while True: ... 阅读全文

posted @ 2012-03-05 14:15 蛇小狼 阅读(188) 评论(0) 推荐(0)

摘要:一,环境Ubuntu操作系统sudo apt-get install updatesudo apt-get install python二,python扩展包在python中可以使用easy_install和pip安装python拓展但推荐使用pip,在stackoverflow看到个帖子:Don't use easy_install, unless you like stabbing yourself in the face. Use pip.Two reasons, there may be more:pip provides an uninstall commandif an i 阅读全文

posted @ 2012-03-02 17:52 蛇小狼 阅读(443) 评论(0) 推荐(0)