你像卡马克一样努力编程
你就会赚大钱
你就能买下豪华跑车和别墅
你还会有宋慧乔
或者苍井空
一样的女朋友
哦噢,但是……
1234567891011 | felinx@FELINX:~$ sudo easy_install girlfriends Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)[GCC 4.4.1] on linux2Type \”help\”, \”copyright\”, \”credits\” or \”license\” for more information.>>> import girlfriendsTraceback (most recent call last): File \” |
可能你是通过社交网络或者搜索引擎找到这里的,不过来这里最简单的方法是,在Python里输入“import girlfriend”。当然,在输入这条指令前,你必须先使用“easy_install girlfriend”或者”pip install girlfriend”来安装”girlfriend”模块,安装过程中会为你自动添加“努力工作”、“钱”、“车”和“房”等模块所依赖的包。
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | felinx@FELINX:~$ sudo easy_install girlfriendSearching for girlfriendReading http://pypi.python.org/simple/girlfriend/Reading http://girlfriend.im/Best match: girlfriend 1.0Downloading http://pypi.python.org/packages/source/g/girlfriend/girlfriend–1.0.zip#md5=5c71e827fffd78fe7293c74ce165f733Processing girlfriend–1.0.zipRunning girlfriend–1.0/setup.py –q bdist_egg —dist–dir /tmp/easy_install–XOtU9Q/girlfriend–1.0/egg–dist–tmp–pNW2zFzip_safe flag not set; analyzing archive contents...Adding girlfriend 1.0 to easy–install.pth file Installed /env/python2.6/lib/python2.6/site–packages/girlfriend–1.0–py2.6.eggGearset365Downloading http://pypi.python.org/packages/source/h/house/house–1.0.zip#md5=8ff7fd47ebff56c2f3eda9e1d9ecbfe3Processing house–1.0.zipRunning house–1.0/setup.py –q bdist_egg —dist–dir /tmp/easy_install–Tu0zoU/house–1.0/egg–dist–tmp–WCdMyozip_safe flag not set; analyzing archive contents...Adding house 1.0 to easy–install.pth file Installed /env/python2.6/lib/python2.6/site–packages/house–1.0–py2.6.eggSearching for car>=1.0Reading http://pypi.python.org/simple/car/Best match: car 1.0Downloading http://pypi.python.org/packages/source/c/car/car–1.0.zip#md5=c0fb318a3405b7da143cccfd645b8a69Processing car–1.0.zipRunning car–1.0/setup.py –q bdist_egg —dist–dir /tmp/easy_install–frOEcA/car–1.0/egg–dist–tmp–ISnChLzip_safe flag not set; analyzing archive contents...Adding car 1.0 to easy–install.pth file Installed /env/python2.6/lib/python2.6/site–packages/car–1.0–py2.6.eggSearching for money>=1.0Reading http://pypi.python.org/simple/money/Best match: money 1.0Downloading http://pypi.python.org/packages/source/m/money/money–1.0.zip#md5=b5eb9601f2680475d6d6710b20ac0fa3Processing money–1.0.zipRunning money–1.0/setup.py –q bdist_egg —dist–dir /tmp/easy_install–JtOEyo/money–1.0/egg–dist–tmp–oYQNbfzip_safe flag not set; analyzing archive contents...Adding money 1.0 to easy–install.pth file Installed /env/python2.6/lib/python2.6/site–packages/money–1.0–py2.6.eggSearching for workhard>=1.0Reading http://pypi.python.org/simple/workhard/Best match: workhard 1.0Downloading http://pypi.python.org/packages/source/w/workhard/workhard–1.0.zip#md5=cf20df6009ebe505e5893a06450955e8Processing workhard–1.0.zipRunning workhard–1.0/setup.py –q bdist_egg —dist–dir /tmp/easy_install–B1vmVq/workhard–1.0/egg–dist–tmp–GzPMeBzip_safe flag not set; analyzing archive contents...Adding workhard 1.0 to easy–install.pth file Installed /env/python2.6/lib/python2.6/site–packages/workhard–1.0–py2.6.eggFinished processing dependencies for girlfriend |
上一篇:漫画:为什么 C 被踢出窗外?