Fat does a heart good, if you're a python, a new study says.
一项新研究得出的结论是,如果你是一条巨蟒的话,脂肪对心脏是有好处的。
The UK government looks increasingly like a python that has swallowed a hippopotamus.
英国政府越看越像是一条吞下河马的巨蟒。
New work suggests that a chunk appears to have broken off and got lodged between the two ocean slabs like a deer swallowed by a python.
最近的研究认为,有一个板块已经折断形成,夹在两个海洋板块之间,就像被蟒蛇吞下的一头鹿。
Scientists have used the latest imaging techniques to peer inside the digestive system of a python an hour after it had eaten a rat whole.
在蟒蛇吞噬了一整只老鼠一小时之后,科学家利用最新的成像技术窥视了其体内的消化系统。
“这是蟒蛇”,他说。
Next, I will describe a Python client.
接下来,我将描述一个Python客户机。
There are two basic components to a Python extension.
有两个基本组件用于 Python 扩展。
A Python debugger was recently added to the PyDev plug-in.
Python调试器是最近才加入Py Dev插件中的。
In a Python program, you access each class as a Python module.
在python程序中,您将以python模块的形式使用这些类。
Fat does a heart good-at least if you're a python, a new study says.
一项新研究得出的结论是,脂肪对心脏是有好处的——如果你是一条巨蟒的话。
The result of the parse call in Listing 4 is a Python dictionary.
清单4中parse调用的结果是一个Python词典。
Lastly, if you are a python developer have a look at mockito-python.
最后,如果你还是个python开发者,那么你可能会对mockito - python感兴趣。
Iterparse returns a Python iterator for the selected element context.
iterparse为所选的元素上下文返回一个python迭代器。
Is a python native parser, which performs nearly complete validation.
是python原有的语法分析器,它执行几乎完整的验证。
As you can see, you can import multiple modules into a Python program.
如您所见,您可以将多个模块导入到一个Python程序中。
Now that we have trayicon.so, we can try and use it in a Python program.
既然我们有了trayicon . so,就可以在Python程序中尝试并使用它。
Listing 1 is a Python script that creates a bar chart from a set of data.
清单1是一段python脚本,可以根据一组数据创建条形图。
The same technique works with a Python dictionary, as shown in Listing 9.
同样的技术也适用于Pythondictionary,如清单9所示。
The format is a bit peculiar: it is almost, but not quite, a Python script.
这种格式有点特殊:它近似于一个python脚本,但却不完全是。
Xmlproc is a Python native parser that performs nearly complete validation.
xmlproc是python原有的语法分析器,它执行几乎完整的验证。
Listing 4: a Python program to send a SOAP request according to the core API.
清单4:根据核心api发送SOAP请求的Python程序。
As you can see, it is quite simple to get a result back as a Python data type.
正如您所看到的,要将结果转换为Python数据类型,这项任务是非常简单的。
The commands in Listing 10 show how to run a Python program contained in a file.
清单10中的命令展示了运行一个包含于文件之中的Python程序的方法。
It discussed how to use methods, or reusable blocks of code, in a Python program.
讨论了如何在Python程序中使用方法或可重用块。
This article discussed how to read and write data to a file from a Python program.
这篇文章讨论了在Python程序中如何从文件读取数据和写入数据到文件中。
Listing 3 demonstrates how to use a Python string as the container for a for loop.
清单3演示了如何使用Pythonstring作为for循环的容器。
A decorator, being a Python function, can do absolutely anything other Python code can.
作为一个python函数,decorator完全可以实现其他Python代码所实现的任何功能。
The final piece that you need is a Python module that provides the ODBC database support.
最后需要的是一个提供ODBC数据库支持的Python模块。
Listing 5 is client code that takes a word and returns the hyponym chain as a Python set.
清单5是接受一个单词然后用Python集合返回下义词链的客户机代码。
Next, you'll add a target to the build script to execute a Python script (see Listing 2).
接下来将向构建脚本中加入新的目标,用于执行python脚本(请参阅清单2)。
应用推荐