py

py

美 ['paɪ]  英 ['paɪ]

  • n.农药年度
  • 网络吡啶(Pyridine);巴拉圭(Paraguay);朋友

英汉解释

n.
1.
农药年度

英英解释

abbr.

例句

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.pytests.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.pyPython脚本

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&#160software2.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.pyboto安装本地Python环境清单1。

To see the database schema for the model, run manage. py's sql command.

设置这个模型模式返回manage.pysql命令

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.pyeasy_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.

pyXMill作为简单命令工具优点在于可以透明地应用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完美协作