py
美 ['paɪ]
英 ['paɪ] 
- n.农药年度
- 网络吡啶(Pyridine);巴拉圭(Paraguay);朋友
英汉解释
英英解释
例句
The setup. py script can vary quite a bit in content as you browse around popular Python repositories.
当您浏览流行的Python库时,setup.py脚本的内容可能存在相当大的差异。
py; note that the only thing this does is to tell Zope what the name is of the class we're installing.
请注意它只做了一件事,即告诉Zope我们正在安装的类的名称。
One obvious improvement to the query in fraggle. py would be to group by source, rather than pursuing just a time-ordered display.
对fraggle.py中查询的一个明显改进是根据源进行分组,而不是单单根据时间顺序进行显示。
Later, he might write a script with a name like test_all. py or tests. py that imported and ran all of his tests together.
然后,编写一个名为test_all.py或tests.py的脚本,这个脚本导入并运行他的所有测试。
An even simpler way that you can do this is to have an additional config. py file with nothing but these three constants in it.
要实现这个目的,一种更简单的方法是额外使用一个config.py文件,其中只包含这三个常量。
Of these three frameworks, py. test looks like the clear leader in this area.
在这三种框架中,py.test看起来在并行测试方面明显领先了。
file should be in the same directory as the rest of your source (. py) files.
特别是,Exif.py文件应该与您的其他源文件(.py)位于相同的目录中。
For an exercise in class definition, you'll use the caching factorial calculator of factorial. py, shown in Listing 4.
我们用高速缓存阶乘计算器factorial.py作为类定义的练习,如清单4所示。
SOAP. py as a project was being sponsored by a company called actzero, and actzero is no longer in business.
py这个项目是由actzero公司赞助的,而actzero却不再从事这一行业了。
It is possible to have a file called spam. pyc (or spam. pyo when -O is used) without a file spam. py for the same module.
你还可以在提供一个模块的时候只提供类似spam.pyc(或者通过-O生成的spam.pyo)文件,而没有spam.py。
Once you've downloaded it, unarchive it and execute python setup. py install, and you'll be ready to use it.
您一旦已经下载了最新版本的ZSI,请对其进行解压缩并执行pythonsetup.pyinstall,然后您就可以使用它了。
The next step is to run the actual code_recognizer. py program.
下一步是运行实际的code_recognizer.py程序。
The only thing you really need is the file setup. py, which contains instructions for the install.
你真正需要的仅仅是文件setup.py,其中包含安装指令。
The pipe symbol indicates that the message's contents should be sent as input for the indicated program: a Python script named aci. py.
竖杠符号指定邮件内容应作为输入发送到某个指定的程序:一个名为aci.py的Python脚本。
This code goes into a file called PhoneNumber. py, as shown in Listing 3.
该代码将进入名为PhoneNumber.py的文件中,如清单3所示。
SQLObject has a setup. py file and installs in the same way as any other Python package.
SQLObject具有一个setup.py文件,安装方式与其他任何Python包一样。
The only difference between this example and the code in the test. py file is the inclusion of the first line.
本例与test.py文件中的代码之间惟一的差异就是包含了第一行。
Save Listing 7 as add_software2. py and try it out as shown in Listing 7b.
将清单7保存为add software2.py,并按如下所示对它进行试验
Also, wxPython contains the Py package of developer tools, which makes adding interactive debugging to your wxPython program trivial.
而且,wxPython包含开发工具的Py程序包,它使得向wxPython程序添加交互式调试变得很简单。
At least for now, I can create XML-node index databases using the simpler xml_indexer. py script.
至少目前我可以使用简单一些的xml_indexer.py脚本来创建XML节点索引数据库。
Change into this directory and run setup. py to install boto into your local Python environment, as shown in Listing 1.
进入此目录并运行setup.py把boto安装到本地Python环境中,见清单1。
To see the database schema for the model, run manage. py's sql command.
要设置这个模型的模式,请返回manage.py的sql命令。
To start the server, simply execute the script server. py in one window and the test client, called time-client. py, in a second.
要启动服务器,只需在一个窗口中执行server.py脚本即可,然后立即执行名为time-client.py的测试客户机。
First, the extension itself: let's put it into a file named, say, foo. py.
首先,来看扩展本身:我们把它放到一个例如叫foo.pyd的文件中。
Low Capital Intensity ? Highest Yield of Propylene g py ? Attractive Rate of Return ? Proven Investment ?
较低的投资强度?丙烯产率高?优越的回报率?投资回报已被验证
Take a look at the output of python xml_indexer. py --help before using it.
在使用它之前请先看一下pythonxml_indexer.py--help的输出。
In net. py (see Resources), reconstruction is, by default, asynchronous, but note the option for synchronous reconstruction.
在net.py(参见参考资料)中,重构默认情况下异步进行的,不过要注意同步重构的选项。
To close, let me present one more generator example that comes from the test_generators. py module distributed with Python 2. 2.
作为结束,让我再介绍一个生成器示例,它来自随Python2.2一同分发的test_generators.py模块。
Next, you create a manifest file called MANIFEST. It contains a single line, the source files that make up the activity (TestActivity. py).
接下来,创建清单文件,称为MANIFEST,它只包含一行,即构成此活动的那个源文件(TestActivity.py)。
bletherSampleInstall. py installs the sample application and creates the datasources required for a manual installation.
py安装样例应用程序,并创建手动安装所需的数据源。
Net. py displays the energy level of any given pattern or node array.
py显示了任意给定图案或节点数组的能量级别。
On the basis of this research, seed dormancy type of Sorbus amabilis Cheng ex Yu was physical (PY).
本研究认为,黄山花楸种子的休眠类型为物理休眠(PY)。
For many Python packages, all you need to do to install them is pass their name as a parameter to ez_setup. py or easy_install.
对于很多Python包来说,要安装这些包,需要做的就是将这些包的名字作为一个参数传递给ez_setup.py或easy_install。
The output of the aggregator is actually an RSS file itself, created via RSS. py (written by Mark Nottingham).
聚集器的输出实际上是它通过RSS.py(由MarkNottingham编写)创建的一个RSS文件。
This causes py. test to make three changes to its behavior.
这会让py.test对其行为做三个更改。
However, xml2struct. py and XMill have the nice advantage of being simple command-line tools that you can transparently apply to XML files.
py和XMill作为简单的命令行工具的优点在于:您可以透明地应用于XML文件。
Windows users, make sure your command prompt is opened with administrator privileges and issue the following command: setup. py install.
对于Windows用户,确保已经使用管理员特权打开命令提示符,并发出以下命令:setup.pyinstall。
TurboGears quickstart provides a project with a controllers. py module that is the location of the Root controller class.
TurboGearsquickstart提供了一个具有controllers.py模块的项目,该模块是Root控制器类所在的位置。
To make Django aware of a new application, you'll need to add an entry to the INSTALLED_APPS field in the settings. py file.
为了使Django认识到新应用程序的存在,还需要向settings.py文件中的INSTALLED_APPS添加一个条目。
That module does not include connection pooling, but should work perfectly well with antipool. py.
该模块不包含连接池化,但可与antipool.py完美协作。