py
美 ['pa?]
英 ['pa?] 
- n.農(nóng)藥年度
- 網(wǎng)絡(luò)吡啶(Pyridine);巴拉圭(Paraguay);朋友
英漢解釋
英英解釋
例句
The setup. py script can vary quite a bit in content as you browse around popular Python repositories.
當您瀏覽流行的Python庫時,setup.py腳本的內(nèi)容可能存在相當大的差異。
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中查詢的一個明顯改進是根據(jù)源進行分組,而不是單單根據(jù)時間順序進行顯示。
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.
要實現(xiàn)這個目的,一種更簡單的方法是額外使用一個config.py文件,其中只包含這三個常量。
Of these three frameworks, py. test looks like the clear leader in this area.
在這三種框架中,py.test看起來在并行測試方面明顯領(lǐng)先了。
file should be in the same directory as the rest of your source (. py) files.
特別是,Exif.py文件應(yīng)該與您的其他源文件(.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卻不再從事這一行業(yè)了。
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.
您一旦已經(jīng)下載了最新版本的ZSI,請對其進行解壓縮并執(zhí)行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.
豎杠符號指定郵件內(nèi)容應(yīng)作為輸入發(fā)送到某個指定的程序:一個名為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包含開發(fā)工具的Py程序包,它使得向wxPython程序添加交互式調(diào)試變得很簡單。
At least for now, I can create XML-node index databases using the simpler xml_indexer. py script.
至少目前我可以使用簡單一些的xml_indexer.py腳本來創(chuàng)建XML節(jié)點索引數(shù)據(jù)庫。
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環(huán)境中,見清單1。
To see the database schema for the model, run manage. py's sql command.
要設(shè)置這個模型的模式,請返回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.
要啟動服務(wù)器,只需在一個窗口中執(zhí)行server.py腳本即可,然后立即執(zhí)行名為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 ?
較低的投資強度?丙烯產(chǎn)率高?優(yōu)越的回報率?投資回報已被驗證
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(參見參考資料)中,重構(gòu)默認情況下異步進行的,不過要注意同步重構(gòu)的選項。
To close, let me present one more generator example that comes from the test_generators. py module distributed with Python 2. 2.
作為結(jié)束,讓我再介紹一個生成器示例,它來自隨Python2.2一同分發(fā)的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).
接下來,創(chuàng)建清單文件,稱為MANIFEST,它只包含一行,即構(gòu)成此活動的那個源文件(TestActivity.py)。
bletherSampleInstall. py installs the sample application and creates the datasources required for a manual installation.
py安裝樣例應(yīng)用程序,并創(chuàng)建手動安裝所需的數(shù)據(jù)源。
Net. py displays the energy level of any given pattern or node array.
py顯示了任意給定圖案或節(jié)點數(shù)組的能量級別。
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包來說,要安裝這些包,需要做的就是將這些包的名字作為一個參數(shù)傳遞給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編寫)創(chuàng)建的一個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作為簡單的命令行工具的優(yōu)點在于:您可以透明地應(yīng)用于XML文件。
Windows users, make sure your command prompt is opened with administrator privileges and issue the following command: setup. py install.
對于Windows用戶,確保已經(jīng)使用管理員特權(quán)打開命令提示符,并發(fā)出以下命令: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認識到新應(yīng)用程序的存在,還需要向settings.py文件中的INSTALLED_APPS添加一個條目。
That module does not include connection pooling, but should work perfectly well with antipool. py.
該模塊不包含連接池化,但可與antipool.py完美協(xié)作。