Python趣文:Import Girlfriend
admin
2023-07-31 00:48:27
0

如果……

你像卡马克一样努力编程

John Carmack

然后……

你就会赚大钱

money

再然后……

你就能买下豪华跑车和别墅

car
house

而且……

你还会有宋慧乔

girl

或者苍井空

aoi sora

一样的女朋友

哦噢,但是……

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 \”\”, line 1, in <module> File \”build/bdist.linux-i686/egg/girlfriends/__init__.py\”, line 20, in <module>girlfriends.MoreThanOneGirlfriendIsNotAllowedException>>>

如何使用“import girlfriend”

可能你是通过社交网络或者搜索引擎找到这里的,不过来这里最简单的方法是,在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/girlfriend1.0.zip#md5=5c71e827fffd78fe7293c74ce165f733Processing girlfriend1.0.zipRunning girlfriend1.0/setup.py q bdist_egg distdir /tmp/easy_installXOtU9Q/girlfriend1.0/eggdisttmppNW2zFzip_safe flag not set; analyzing archive contents...Adding girlfriend 1.0 to easyinstall.pth file Installed /env/python2.6/lib/python2.6/sitepackages/girlfriend1.0py2.6.eggGearset365Downloading http://pypi.python.org/packages/source/h/house/house1.0.zip#md5=8ff7fd47ebff56c2f3eda9e1d9ecbfe3Processing house1.0.zipRunning house1.0/setup.py q bdist_egg distdir /tmp/easy_installTu0zoU/house1.0/eggdisttmpWCdMyozip_safe flag not set; analyzing archive contents...Adding house 1.0 to easyinstall.pth file Installed /env/python2.6/lib/python2.6/sitepackages/house1.0py2.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/car1.0.zip#md5=c0fb318a3405b7da143cccfd645b8a69Processing car1.0.zipRunning car1.0/setup.py q bdist_egg distdir /tmp/easy_installfrOEcA/car1.0/eggdisttmpISnChLzip_safe flag not set; analyzing archive contents...Adding car 1.0 to easyinstall.pth file Installed /env/python2.6/lib/python2.6/sitepackages/car1.0py2.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/money1.0.zip#md5=b5eb9601f2680475d6d6710b20ac0fa3Processing money1.0.zipRunning money1.0/setup.py q bdist_egg distdir /tmp/easy_installJtOEyo/money1.0/eggdisttmpoYQNbfzip_safe flag not set; analyzing archive contents...Adding money 1.0 to easyinstall.pth file Installed /env/python2.6/lib/python2.6/sitepackages/money1.0py2.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/workhard1.0.zip#md5=cf20df6009ebe505e5893a06450955e8Processing workhard1.0.zipRunning workhard1.0/setup.py q bdist_egg distdir /tmp/easy_installB1vmVq/workhard1.0/eggdisttmpGzPMeBzip_safe flag not set; analyzing archive contents...Adding workhard 1.0 to easyinstall.pth file Installed /env/python2.6/lib/python2.6/sitepackages/workhard1.0py2.6.eggFinished processing dependencies for girlfriend

相关内容

热门资讯

Mobi、epub格式电子书如... 在wps里全局设置里有一个文件关联,打开,勾选电子书文件选项就可以了。
500 行 Python 代码... 语法分析器描述了一个句子的语法结构,用来帮助其他的应用进行推理。自然语言引入了很多意外的歧义,以我们...
定时清理删除C:\Progra... C:\Program Files (x86)下面很多scoped_dir开头的文件夹 写个批处理 定...
scoped_dir32_70... 一台虚拟机C盘总是莫名奇妙的空间用完,导致很多软件没法再运行。经过仔细检查发现是C:\Program...
65536是2的几次方 计算2... 65536是2的16次方:65536=2⁶ 65536是256的2次方:65536=256 6553...
小程序支付时提示:appid和... [Q]小程序支付时提示:appid和mch_id不匹配 [A]小程序和微信支付没有进行关联,访问“小...
pycparser 是一个用... `pycparser` 是一个用 Python 编写的 C 语言解析器。它可以用来解析 C 代码并构...
微信小程序使用slider实现... 众所周知哈,微信小程序里面的音频播放是没有进度条的,但最近有个项目呢,客户要求音频要有进度条控制,所...
Apache Doris 2.... 亲爱的社区小伙伴们,我们很高兴地向大家宣布,Apache Doris 2.0.0 版本已于...
python清除字符串里非数字... 本文实例讲述了python清除字符串里非数字字符的方法。分享给大家供大家参考。具体如下: impor...