码迷,mamicode.com
首页 >  
搜索关键字:egg    ( 297个结果
python的sys.path(环境变量)简单总结
基本概念: sys.path指定用于模块搜索路径的字符串列表。 它根据环境变量PYTHONPATH进行初始化,再加上安装时的默认值。 >>> sys.path [‘‘, ‘/opt/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg‘, ‘/...
分类:编程语言   时间:2015-09-16 12:54:35    阅读次数:210
设计模式二(转载)
在阅读过程中有任何问题,请及时联系:egg。邮箱:xtfggef@gmail.com 微博:http://weibo.com/xtfggef如有转载,请说明出处:http://blog.csdn.net/zhangerqing我们接着讨论设计模式,上篇文章我讲完了5种创建型模式,这章开始,我将讲下7...
分类:其他好文   时间:2015-09-10 11:08:38    阅读次数:173
设计模式四(转载)
在阅读过程中有任何问题,请及时联系:egg。邮箱:xtfggef@gmail.com 微博:http://weibo.com/xtfggef转载请说明出处:http://blog.csdn.net/zhangerqing其实每个设计模式都是很重要的一种思想,看上去很熟,其实是因为我们在学到的东西中都...
分类:其他好文   时间:2015-09-10 10:58:32    阅读次数:237
python交互环境tab补齐
>>>importsys>>>sys.path[‘‘,‘/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg‘,‘/usr/lib64/python26.zip‘,‘/usr/lib64/python2.6‘,‘/usr/lib64/python2.6/plat-linux2‘,‘/usr/lib64/python2.6/lib-tk‘,‘/usr/lib64/python2.6/lib-old‘,‘/us..
分类:编程语言   时间:2015-09-07 13:02:13    阅读次数:211
[CareerCup] 6.5 Drop Eggs 扔鸡蛋问题
6.5 There is a building of 100 floors. If an egg drops from the Nth floor or above, it will break. If it's dropped from any floor below, it will not b...
分类:其他好文   时间:2015-08-27 12:42:20    阅读次数:125
Python 之 安装模块的多种方法
1、自己写的模块,可以直接添加到路径下。这样就可以直接调用。 import sys sys.path.append("/home/username/") 2、单文件模块 直接把文件拷贝到$python_dir/lib 3、网上下载的第三方库,一般解压后,找setup.py文件    运行python setup.py install 4、 egg文件    1) 下...
分类:编程语言   时间:2015-08-06 22:32:39    阅读次数:189
Comparator与Comparable的应用
当需要排序的集合或数组不是单纯的数字型时,通常可以使用Comparator或Comparable,以简单的方式实现对象排序或自定义排序。 阅读过程中有任何问题,请联系egg: 邮箱:xtfggef@gmail.com ??微博:http://weib...
分类:其他好文   时间:2015-08-04 17:29:12    阅读次数:215
添加.gitignore的正确姿势
添加.gitignore的正确姿势# Windows:Thumbs.dbehthumbs.dbDesktop.ini# Python:*.py[cod]*.so*.egg*.egg-infodistbuild# My configurations:db.inideploy_key_rsa*.clas...
分类:其他好文   时间:2015-08-03 16:23:36    阅读次数:209
【VC++游戏开发】智力游戏——鸡蛋里挑骨头(仿扫雷)
在我学习游戏开发的过程中,遇到的最大的麻烦就是不知道一个游戏的完整实现过程,代码倒是其次。 这里,总结一下我做过的游戏,主要是梳理整每个步骤。 先看下最终的效果 第1步,准备素材图片 包括鸡蛋、骨头,还有数字以及骨头标识和砸鸡蛋用的小锤。 第2步,声明 Egg类 它只包含2个成员变量 class CEgg { public: int ...
分类:编程语言   时间:2015-07-16 12:01:31    阅读次数:146
/root/.python-eggs 报错
部署过程中,使用虚环境,但是启动程序的时候报错,如下:Traceback(mostrecentcalllast):File"/home/himalayas/fdsearch/fdsearch/bin/fdsearch",line34,in<module>fromfdsearchimportwsgiFile"/home/himalayas/fdsearch/fdsearch/wsgi.py",line32,in<module>impo..
分类:编程语言   时间:2015-07-03 00:29:20    阅读次数:1507
297条   上一页 1 ... 22 23 24 25 26 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!