单词 | python |
释义 |
复数:pythons 例句释义: 蟒,蚺蛇,蟒蛇,巨蟒,派森 1. However, this sort of manipulation of the PYTHONPATH (or of sys. path within a script or Python shell session) is a bit fragile. 不过,PYTHONPATH的(或者脚本或Pythonshell会话内的sys.path的)这种操作有些脆弱。 www.ibm.com 2. Python is an easy to read, use, and learn programming language. Python是一种容易阅读、使用和学习的编程语言。 www.ibm.com 3. I chose PHP, because that's what I'm most familiar with: You may want to use Ruby or Python, and both of those options are supported. 我选择PHP,因为这是我最熟悉的:您可能想要使用Ruby或Python,这两种也受支持。 www.ibm.com 4. Then we introduce the concept of a container type and focus on the Python tuple class as the first example of that type. 然后,我们将介绍容器类型的概念,并且将Pythontuple类作为此类型的第一个示例,进行重点介绍。 www.ibm.com 5. My first question when I got this far was to ask myself how I would define a class in C that would be visible from Python. 做到这里时,我的第一个问题是问自己该如何用C定义从Python中可见的类。 www.ibm.com 6. A quick grep among the startup scripts reveals that this is part of the hplip service, which provides "HP Linux Imaging and Printing. " 对启动脚本进行grep处理,能够看出python是hplip的一部分,hplib提供了“HPLinux图形和打印”服务。 www.ibm.com 7. And when you upgrade to a newer version of Python, you don't have to worry that you might be abandoning existing pickles. 并且,当升级到更新版本的Python时,不必担心可能要废弃已有的pickle。 www.ibm.com 8. The setup. py script can vary quite a bit in content as you browse around popular Python repositories. 当您浏览流行的Python库时,setup.py脚本的内容可能存在相当大的差异。 www.ibm.com 9. Django comes with its own object-relational mapper (ORM) library that supports dynamic database access through a Python object interface. Django提供了自己的对象关系型数据映射组件(object-relationalmapper,ORM)库,它可以通过Python对象接口支持动态数据库访问。 www.ibm.com 10. Note that cmislib makes getting this object as easy as if you were getting a local folder object from the standard python library. 注意,cmislib能够帮助您轻松获取这个对象,就像从这个标准Python库获取一个本地文件夹对象一样。 www.ibm.com 1. Remember: it's just a few extra lines of the Perl (or Python, or . . . ) code you already know to give these results. 请记住:为了取得这些结果,您只需添加几行您已知道的Perl(或Python或……)代码。 www.ibm.com 2. So, in a second study they used a description of a Monty Python sketch which participants weren't told was supposed to be a joke. 因此,在第二个实验中,他们使用了一个描述巨蟒的素描,而参与者也没有认为这应该是一个玩笑。 www.bing.com 3. This can be very handy for trying out pieces of code without putting them into a Python script and executing the script. 这种方式对于调试一段代码是非常有用的,因为不用把代码放进Python脚本中并执行脚本了。 www.ibm.com 4. As you might expect, this is not a good thing, and the Python interpreter won't behave nicely if you try to do it, as shown in Listing 5. 正如您可能认为的,这样并不好,如果进行此操作,Python解释器将无法很好地工作,如清单5所示。 www.ibm.com 5. Nonetheless, I noticed something of a disturbing trend in the Python community that prompted this article. 然而,我在这篇文章归属的Python社区中注意到了一种令人烦恼的趋势。 www.ibm.com 6. Is an implementation of the high-level, dynamic, object-oriented Python that allows you to run Python on any Java platform. 是Python高级别的、动态的、面向对象的实现,它允许您在任何Java平台上运行Python。 www-128.ibm.com 7. There has been a good deal of cross pollination between the Java language and Python camps over the years. 多年以来,Java语言和Python阵营之间一直存在大量的异花授粉现象。 www.ibm.com 8. It's easy to develop with Pyjamas because you can use the same debugging tools that you usually use for Python. 用Pyjamas进行开发很容易,因为可以使用平时使用的Python调试工具。 www.ibm.com 9. It assumes that you have no knowledge of that programming language, so some of what you read here might seem a bit basic. 本文假定您不具备Python编程语言的任何知识,但至少应具备一些基本的编程知识。 www.ibm.com 10. What the Python of a year ago sorely lacked was a sufficient programmatic infrastructure for sharing Python code. 一年前的Python极度缺乏的是用来共享Python代码的充分规划的基础结构。 www.ibm.com 1. Python is object oriented, which gives it a significant advantage over such other scripting languages as Perl and Rexx. Python是面向对象的,这使它与其它这类脚本编写语言如Perl和Rexx相比有了很大的优势。 www.ibm.com 2. My hope is to provide a collection of valuable things to watch out for to all those programmers who use Python less than full time. 我希望向所有并非一直使用Python的程序员指出真正具有价值的东西。 www.ibm.com 3. Of course, as a long-time Pythonista, I find mechanize more robust, which seems to follow the general pattern of the two languages. 当然,作为长期的Python支持者,我认为mechanize更健壮,它看上去似乎继承了两种语言的通用模式。 www.ibm.com 4. A few lines for imports and bindings is not much to do, but letting Python just inherently run much faster would be even more seamless. 添加几行导入和绑定代码不需要做很多工作,但却可以轻易地让Python比以前运行得快得多。 www-128.ibm.com 5. At the beginning of this article, I said (in a rather winded manner) that a string in Python is an immutable sequence of characters. 在本文的开头部分,我着重强调了Python中的字符串是不变的字符序列。 www.ibm.com 6. 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. 在蟒蛇吞噬了一整只老鼠一小时之后,科学家利用最新的成像技术,窥视了其体内的消化系统。 www.bing.com 7. By the end of this article, Bash or PHP programmers should be able to jump into object-oriented Python projects without fear. 到本文结束时,Bash或PHP程序员应该能够毫无畏惧地一头扎进面向对象的Python项目。 www.ibm.com 8. Neither of the above examples truly shows off the true power of either Perl or Python, nor was that my intent in a short article. 上面的实例没有真正地表现出Perl或Python的真正实力,这也不是我在这篇短文中的意图。 www.ibm.com 9. To support this, Python has a way to put definitions in a file and use them in a script or in an interactive instance of the interpreter. 为此Python提供了一个办法,把这些定义存放在文件中,为一些脚本或者交互式的解释器实例使用。 wiki.ubuntu.org.cn 10. At this point, notice that Python uses zero ordering, where the items in a collection are numbered starting with zero. 这时,请注意Python使用了零排序,其中集合中的项目从零开始编号。 www.ibm.com 1. Python Definition: Python is an object-oriented, open-source programming language often used for rapid application development. Python语言定义:Python是一种面向对象、开放源码的编程语言,常常用于应用程序的快速开发。 www.bing.com 2. Python is usually fast enough for what you want it to do. Python对于您想让它做的事来说通常够快了。 www-128.ibm.com 3. Python is roughly comparable to Perl or Java, though it has several significant strengths (and a few disadvantages) over each. Python完全比得上Java或Perl语言,而且它还有许多显著的优势(当然也有一些劣势)。 www.bing.com 4. Another example of the differences in the implementation completeness is that the Python implementation seems to have stalled recently. 实现程度不同的另一个例子是,Python实现最近似乎停止了。 www-128.ibm.com 5. Python was designed with a small core and a large set of extension libraries, making the language extremely compact and flexible. Python采用小内核设计,但具备大量扩展库,从而确保了该语言的紧凑性和灵活性。 www.ibm.com 6. A practice millennium python seeing, changes into an elegant young man, spits into the borneol in his mouth. 一修炼千年的巨蟒看见,化为一翩翩少年,将冰片吐入他口中。 hi.baidu.com 7. Suggests that Python Web services implementations were not the only ones having trouble with the air fare quote service. 指出,PythonWeb服务实现并不是惟一使用机票报价服务有困难的。 www-128.ibm.com 8. Dolce & Gabbana has a magazine advertisement showing a man in briefs sunning himself with an enormous python crawling over his body. Dolce&;Gabbana有一个杂志广告,画面上是一个穿着贴身短裤的男子在晒太阳,一只巨蟒在他身上爬行。 www.ftchinese.com 9. Dynamic languages like Python and Ruby seem to be all the rage these days. 最近Python和Ruby这样的动态语言风靡于世界。 www.infoq.com 10. There seems to be a bug in the PyGTK 0. 6. 8 Configuration script that affects those without a site-wide Python installation. 在PyGTK0.6.8的配置文件里好象有一个错误,会影响那些没有在站点范围内安装Python的系统。 www-128.ibm.com 1. For that reason -- as well as for comparison -- we wanted to point out some of the other popular GUI toolkits for Python. 由于这个原因(也为了比较),我们想指出一些用于Python的其它流行GUI工具箱。 www.ibm.com 2. For this article, it's necessary to have a reasonably up-to-date Python installed on your *nix machines, which means Python 2. 3 or greater. 要学习本文中的内容,您需要在您的*nix计算机中安装最新的Python(即Python2.3或者更高版本)。 www.ibm.com 3. Two other features help you write easy-to-read programs in Python, and they both follow from the book analogy used earlier. 两个其他特性有助于编写易读的Python程序,并且这两者都遵循前面所用的书的比喻。 www.ibm.com 4. Actually, it's very easy to create powerful and truly cross-platform user interfaces with Python. 其实,利用Python可以很容易地创建出强大且真正意义上跨平台的用户界面。 www.ibm.com 5. But of particular value relative to this article is Hettinger's explanation of the lookup chain that underlies Python's concept of OOP. 但与本文有关的是,Hettinger对Python面向对象编程概念下的查找链的解释。 www.ibm.com 6. An instance is a Python object that was "manufactured" by a class; the class acts as a sort of template for the instance. 实例是由类“制造”的Python对象;类充当实例的一种模版。 www.ibm.com 7. Python provides multiple methods for installing an application, including the ability to compile the source into a more compact form. Python提供了多种方法用于安装应用程序,包括将源文件编译成一种更紧凑的格式。 www.ibm.com 8. Until now it's been a scientific mystery how the python's body accomplishes this "extraordinary" feat, Leinwand said. 直到现在,巨蟒的身体如何完成如此“特殊”的技艺,仍然是一个科学之谜。Leinwand说。 www.bing.com 9. Participants reacted to the meaning threat implicit in Python by handing out a larger notional punishment to a lawbreaker. 参与者的反应是在巨蟒中一个具有隐含意义的威胁派由一个的更大名义让处罚者进行处罚。 www.bing.com 10. Our initial puzzle illustrates this. Suppose that you were given N characters of code that you knew to be either C, C , Java, or Python. 文章开始的难题举例说明了这个,假设给您N个字符的代码段,您知道是C、C 、Java或者Python。 www.ibm.com 1. The issue of Python is another one of those make-or-break questions you'll come up against in deciding on your cloud computing platform. 在选择云计算平台时,Python的问题是您将遇到的另一个决定成败的问题。 www.ibm.com 2. Down, move up, then down, then move up, pre-labor python, painful I do not know how to put her body. 翻下来,腾挪上去,再翻下来,再腾挪上去,就是临产前的巨蟒,痛苦地不知如何摆放自己的身体。 www.bing.com 3. For one thing, that it's easy to get help from the Python interpreter, but more on that later. 只有一个事情,那就是可以方便地从Python解释器中得到帮助,但是从后面部分可以获得更多帮助。 www.ibm.com 4. But as soon as you want complex user interaction -- especially explicitly graphical interfaces -- Python offers practically nothing. 但当您希望复杂的用户交互时―特别专门针对图形界面时―Python实际上什么也不能提供。 www.ibm.com 5. But thanks to one eager rock python we're going to see some things not advertised in the safari brochures. 不过多亏了这条性急的森蚺,我们得以窥见狩猎行程手册中未曾描述的难得景象。 2u4u.com.cn 6. Python commands may be typed into the Console and executed just as they are when executing Python from the command line. Console中可输入Python命令并执行,就像从命令行中执行Python一样。 www.ibm.com 7. Luckily, most shared Web-hosting providers include Python support, so it is possible to deploy Django applications in this scenario. 好消息是,大部分Web宿主服务器都支持Python,因此在这个场景中可以部署Django应用程序。 www.ibm.com 8. Furthermore (and for the same reason), earlier versions pickled every attribute as a deep copy of its actual Python object. 而且(出于相同的原因),早期版本将每个属性作为它实际Python对象的深层副本进行pickle。 www.ibm.com 9. Of course, at least in Python, the verification or enforcement of declared rules will always boil down to procedural checks. 当然,起码在Python中,声明规则的验证和增强总是会归结为过程式检查。 www.ibm.com 10. Looking at this example, you should get a good feeling for how simple it is to put a Python program in a file and have it run. 观察上例,您应该会产生几分好感,将Python程序置于文件内,并使其运行是如此简单。 www.ibm.com 1. A Python script is so much more flexible than Java Property file that the possibilities are limited only by your imagination. Python脚本比JavaProperty文件灵活得多,它只受限于您的想像力。 www-128.ibm.com 2. Once compiled with a C compiler, these Pyrex (the language) modules can be imported into and used in your regular Python applications. 一旦用C编译器进行了编译,就可以将这些Pyrex(语言)模块导入常规的Python应用程序并使用。 www.ibm.com 3. With the other Python SOAP implementations we have had to hack at the client library code to sort out interoperability problems. 对于其它PythonSOAP实现,要解决互操作性问题,我们得修改客户机库代码。 www.ibm.com 4. Writing scripts to interact with Web sites is possible with the basic Python modules, but you don't want to if you don't have to. 使用基本的Python模块,可以编写脚本来与Web站点交互,但是如果没有必要的话,那么您就不希望这样做。 www.ibm.com 5. Python is not the only programming language to have a binding for accessing the wxWidgets library. Python并不是惟一一种具有访问wxWidgets库的绑定的编程语言。 www.ibm.com 6. Zhu went out to investigate, and there, a few paces from his door, he saw a huge python! 祝出去查看,就在门口几步远的地方,他看到了一条巨蟒! www.for68.com 7. Then create a small Python script that informs Apache of the various settings for your Django project and executes the FastCGI program. 然后创建一小段Python脚本,告诉Apache您的Django项目的不同设置,并执行FastCGI程序。 www.ibm.com 8. PEAK, or the Python Enterprise Application Kit, combines some elements of all of these into a component programming framework. PEAK将所有这些中的一些要素组合到了一个组件编程框架中。 www.ibm.com 9. In this case, you create an implicit file object, and Python does the rest, allowing you to iterate over all the lines in the file. 在这个示例中,创建隐式file对象,然后Python做余下的工作,允许对文件中的全部行进行迭代。 www.ibm.com 10. To use it, set a breakpoint by clicking to the left of the line of code you'd like to break on within the Python editor. 要使用调试器,可在Python编辑器中想中断的代码行的左侧点击,设置断点。 www.ibm.com 1. The techniques here can be applied many times to different objects, allowing you to use any GObject you find in Python. 这里的技术可以多次应用于不同对象,允许您使用在Python中找到的任何GObject。 www.ibm.com 2. Psyco: Learn more about this Python extension module that can massively speed up the execution of Python code. Psyco:了解有关这个Python扩展模块的更多信息,它可以显著提高Python代码的执行速度。 www.ibm.com 3. I included the running time of the Python implementation as a baseline ; this version is completely non- optimized . 此外,消息总线能够利用它的内部组件的基础运行时间。 www.bing.com 4. Moreover, its convenient integration into the Python interactive shell makes for a delightfully productive development environment. 此外,可以方便地将它集成到Python交互式shell中,这有利于形成一个令人愉快的高效开发环境。 www.ibm.com 5. Perhaps the quickest check to see whether command line editing is supported is typing Control-P to the first Python prompt you get. 要查看是否支持命令行编辑,也许最快的方法是在您看到的第一行Python提示符后输入Control-P。 mayajc.com 6. The balls disappeared, and the couple found a lumpy-looking carpet python nearby. 球不见了,夫妇却发现在附近有一条身形凹凸不平的地毯蟒。 www.elanso.com 7. One area in which a Python script portability falls far short of a Java application's portability is in the user interface. Python脚本可移植性中有一个地方比Java差很多,那就是在用户界面中。 www.ibm.com 8. It acts like a Python dictionary that allows objects to be placed at (and later deleted from) names identified by string-typed keys. 其工作方式类似于Python字典,允许将对象放在由字符串类型的键确定的名称处(并在以后从该位置删除)。 www.ibm.com 9. PHP has an array type that doubles as as a simple list and a dictionary or hash; Python separates the two. PHP的数组类型可同时支持简单列表和字典或散列,但Python却将这两者分开。 www.ibm.com 10. Python contains a mixture of casts and coercions, with a usual preference for the former ( "explicit is better than implicit" ). Python中既有强制类型转换也有强迫同型,通常使用更多的是前者(“显式优于隐式”)。 www.ibm.com 1. Such a descriptor could return something callable -- any Python function or method can return anything, after all. 这种描述符可以返回可调用的内容——毕竟Python函数或方法可以返回任何内容。 www.ibm.com 2. This example iterates over all the items in a Python list and prints each item and its corresponding Python type on a separate line. 本例迭代Pythonlist中的所有项目,并在单独的行中打印每一项及其相对应的Python类型。 www.ibm.com 3. The ball python, because of its appeal, availability and price, has become one of the most commonly kept reptile pets today. 今天,球蟒已经因为它的吸引力、便于购置以及价格,而成为最普及的爬宠之一。 blog.163.com 4. That's changed a bit in the last few months -- now the book in arm's reach is the second edition of Python Essential Reference. 最近几个月情况有一点变化―现在我放在手边的书是PythonEssentialReference的第2版。 www.ibm.com 5. By using IPython, it is now possible to combine the best features of a Python shell, UNIX shell, and your favorite text editor. 现在通过使用IPython,可以将PythonShell、UNIXShell和您最喜欢的文本编辑器的最佳特性组合到一起。 www.ibm.com 6. The MayaVi shell around VTK can be imported as a Python module from other Python programs and scripted through the Python interpreter. 围绕VTK的MayaVi外壳可以作为一个Python模块从其他Python程序中导入,并通过Python解释器来编写脚本。 www.ibm.com 7. All the dynamic information to be inserted into the static template definition must first be broken down into basic Python data types. 所有将插入静态模板定义中的动态信息都必须首先拆分为基本的Python数据类型。 www.ibm.com 8. Serpent blood spurted through the air, and in a minute, the huge python was dead. 蛇血在空中喷射出来,很快,大蟒蛇就死了。 www.for68.com 9. Or, you could use any of Python's other functions for finer control of an external process. 或者,也可以使用Python的任何其他函数更精细地控制外部进程。 www.ibm.com 10. Python has extensive support for handling all types of exceptions but, for the purposes of these example programs, I've kept it simple. Python为处理所有类型的异常提供了广泛的支持,但是出于这些示例程序的目的,我尽量保持其简单。 www.ibm.com 1. Once you press Enter following the last three-dot Python prompt, the Python interpreter starts churning away in an infinite loop. 一旦在三个点的Python提示后按Enter键,Python解释器就处于无限循环的混乱中。 www.ibm.com 2. Spark is the first Python program I've used where I really found the speed penalty of an interpreted language to be an major issue. Spark是我使用过的第一个Python程序,而我在使用中发现,解释语言的速度损失是其主要问题。 www.ibm.com 3. We don't want to have to specify the length of the string in Python code, so we change the isi to is#. 我们不想必须在Python代码中指定字符串长度,所以将isi更改为is#。 www.ibm.com 4. To tell Python that an integer should be treated as a long, simply append an L to the end of the number, like 100L. 要通知Python应该按照长类型处理整数,只需将L附加到数字的末尾,如100L。 www.ibm.com 5. It's basically a Python wrapper around the wxWindows library, a very fast and complete cross-platform windowing framework. 在wxWindows库周围主要就是Python包装,它是一种非常快速以及完完全全跨平台的窗口操作框架(windowingframework)。 www.ibm.com 6. There are numerous third-party libraries available for converting Python objects to JSON and vice-versa, but we did not need them. 有许多第三方库可用于相互转换Python对象与JSON,但是我们不需要这些库。 www.ibm.com 7. As he related in the Python Business Forum mailing list, he had implemented an XML processor that required eight hours to complete its task. 就象他在Python业务论坛(PythonBusinessForum)邮件列表中所叙述的那样,他已经实现了一个XML处理器,该处理器完成其任务需要8小时。 www.ibm.com 8. Because working with text-based data is a common practice, you might be wondering how Python deals with character-based data. 因为处理基于文本的数据是很常见的,所以,您可能想知道Python如何处理基于字符的数据。 www.ibm.com 9. The data store is well-suited for your hybrid application, and it takes very little Python to whip up a RESTful interface to your queue. 这个数据存储很适合于混合应用程序,并且只需很少的Python编程就可以打造出一个面向您的队列的RESTful式接口。 www.ibm.com 10. This analogy extends to the Python programming language and the special container type known as a dictionary. 这种概念延伸到Python编程语言中,就成了特殊的容器类型,称为dictionary。 www.ibm.com 1. This line of thinking will then lead you to a module called perlmodule, which lets you embed a Perl interpreter in Python. 这种思维模式将把您带到一个名为perlmodule的模块,它支持在Python中嵌入一个Perl解释器。 www.ibm.com 2. SQLObject is the object-relational mapper (ORM) library that allows you to develop database-persistent Python objects. SQLObject是对象关系映射器(ORM)库,它让我们可以开发数据库持久的Python对象。 www.ibm.com 3. Perl used to be the recommendation, but Python is now quite mature, and is possibly easier to learn. 在过去,Perl是优先推荐的,但是,现在Python更加成熟,并且更容易学。 www.bing.com 4. "The most temperate of the species is the Burmese python, " he said. “所有种类中缅甸巨蟒最温顺,”他说。 www.bing.com 5. Even Python beginners should be able to follow the subsequent directions. 即便是Python的初学者也能理解后继的用法。 www.ibm.com 6. The syntax of YAML combines the contextual typing of Perl, the indentation structure of Python, and a few conventions from MIME standards. YAML的语法结合了Perl的上下文类型测定、Python的缩排结构以及MIME标准上的一些约定。 www.ibm.com 7. Do you know why snakes like the Python shown above always keep the eyes open? 你知道为什么蛇总是睁着眼睛么? www.hjenglish.com 8. This is nothing more than a convention: the name self has absolutely no special meaning to Python. 这仅仅是一个约定:对Python而言,``self``绝对没有任何特殊含义。 wiki.ubuntu.org.cn 9. To tell Python which stats method you want to call, you must provide the full name. 为告知Python您要调用的是哪个stats方法,就必须提供完整的名称。 www.ibm.com 10. Of course, when you start talking about making Python(-like) modules fast, Pyrex is not the only tool there is. 当然,当您开始谈论加速(类)Python模块时,Pyrex并不是惟一可用的工具。 www.ibm.com 1. In addition, Python makes it easy to determine a variable's type, using the type function. 除此之外,Python还可以使用类型函数来简化对变量类型的确定。 www.ibm.com 2. This is a common situation (most Python programs do not use threads), and the lock operations slow the interpreter down a bit. 这是常见的情景(大多数Python程序员不用线程),锁操作稍微拖慢了解释器。 blog.chinaunix.net 3. To run the statements in this file, you need to start a Python interpreter and tell it to read and process the contents of the file. 要运行本文件中的语句,您需要启动一个Python解释器,并让它去读取和处理文件的内容。 www.ibm.com 4. The previous articles in this series also showed some simple Python examples that manipulated variables that held data of these four types. 该系列的前4篇文章也展示了一些简单的Python例子,这些例子管理保存有这四种类型的数据的变量。 www.ibm.com 5. Fundamentally, the order of the items in a dictionary is controlled by the actual implementation of the Python dictionary data type. 本质上,dictionary中元素的次序是由Pythondictionary数据类型的实际实现控制的。 www.ibm.com 6. As an official Python data type, dictionaries support the majority of operations you may be familiar with from other, simpler data types. 作为正式的Python数据类型,dictionary支持其他较简单数据类型所支持的大多数操作。 www.ibm.com 7. Before you do this, read the following sections to understand how the agent and Python code work. 进行此操作前,先阅读下面部分,以了解代理和Python代码是如何工作的。 www.ibm.com 8. However as Neo has been impressed by Python's productivity gain before, he wondered if he could write code in Python to use DB2 JDBC driver. 而且,因为Python的效率收益过去给Neo留下了深刻印象,所以他想是否可以用Python编写代码来使用DB2JDBC驱动程序。 www.ibm.com 9. With only a tiny amount of extra programming, Psyco can often be used to increase the speed of Python code by orders of magnitude. 只需极少量的额外编程,通常就可以使用Psyco将Python代码的速度提高好几个数量级。 www-128.ibm.com 10. PyGTK is GTK for Python; it allows you to easily create programs with a graphical user interface using the Python programming language. PyGTK是用于Python的GTK ;通过它可以轻松地使用编程语言创建具有图形用户界面的程序。 www.ibm.com 1. While this package has little to do with Python development, I feel that it is a good final task for our two Content Component parts. 尽管该包需要一点Python开发,但我认为这对于我们两个内容组件部分都可以说是个好的任务。 wiki.ubuntu.org.cn 2. In contrast to PLY or Spark, DParser itself is written in C, and is thus likely to be considerably faster than pure-Python parsers. 与PLY或Spark相反,DParser本身是用C编写的,因而可能会比纯粹的Python解析器快得多。 www.ibm.com 3. Automatically generating a set of Python validity classes from a DTD or XML Schema would be nice. 从DTD或XMLSchema自动生成一组Python有效性类将会非常好。 www-128.ibm.com 4. Indeed, given its prevalence in Python, Perl, and Apache projects, expat is clearly one of the most widely-used XML parsers available. 的确,就它在Python、Perl和Apache项目中的流行程度而言,expat明显是使用最广泛的XML解析器之一。 www.ibm.com 5. Python was the libvirt-supported scripting language and provides a clean, object-oriented interface to the libvirt API. Python是受libvirt支持的脚本语言,它向libvirtAPI提供完全面向对象的接口。 www.ibm.com 6. It turns out to be quite easy (about 100 lines of [Python] code) using two ideas: constraint propagation and search. 最后发现其解决方式还是非常简单的(只需要100行Python代码),它基于以下两个想法:约束传播和查找。 www.infoq.com 7. Hidden in a Florida swamp, he added, the African python "could strike you and you wouldn't even know it was there. " 克里斯克补充说,藏匿于弗洛里达的沼泽中,非洲蠎可能会在你根本无所察觉的情况下攻击你。 ng.trends.com.cn 8. For the first time, Python developers had a single place to turn for (nearly) all contributed third-party modules, packages, and tools. Python开发者第一次拥有了一个专门的地方,那里有(几乎)所有已提供的第三方模块、包和工具。 www.ibm.com 9. Without a templating system, you'd use Python code to generate pieces of text like the example e-mail message. 如果没有模板系统,那么就要使用Python代码生成类似示例电子邮件消息的文本片段。 www.ibm.com 10. Floating-point values in Python are always done in double precision; hence, Python float types correspond to doubles in a C-like language. 在Python中,浮点值始终是按双精度处理的;因此Python的float类型对应于C类语言中的双精度。 www.ibm.com 1. I took a very superficial look at some of the common features and differences in two of the more popular languages, Perl and Python. 我非常浅显地讨论了两种较流行的语言,Perl和Python,中的一些共有特性和差别。 www.ibm.com 2. Doctests are a wonderful feature of Python, because among other things, it allows for a way to create testable documentation for an API. 文档测试是Python的一个很好的特性,因为与其他特性一起,它提供了一种为API创建可测试文档的方法。 www.ibm.com 3. Python provides a simple mechanism for combining these two concepts, called List Comprehensions, which will be covered in a future article. Python提供了用于组合这两个概念的简单机制,称为列表理解,将来的文章中将讲述该内容。 www.ibm.com 4. The type coercion rules have changed to preserve types in arrays (more often), rather than converting to the type of a Python scalar. 改变了类型强制规则,以保持数组(更为常见)中的类型,而不是转换为Python标量的类型。 www.ibm.com 5. This example shows off the extensive number of functions the Python Standard Library os module provides. 该示例展示了Python标准库os模块所提供的数量众多的函数。 www.ibm.com 6. I try to explain the Python code so that you need no more than a basic understanding of the language to follow along. 我将解释Python代码,因此只需要对这种语言有基本的了解即可。 www.ibm.com 7. It reads a Prolog data file like the sample, then creates Python objects to model the Prolog declarations. 它读取像样本那样的Prolog数据文件,然后创建Python对象来对Prolog声明建模。 www.ibm.com 8. Once you've downloaded it, unarchive it and execute python setup. py install, and you'll be ready to use it. 您一旦已经下载了最新版本的ZSI,请对其进行解压缩并执行pythonsetup.pyinstall,然后您就可以使用它了。 www.ibm.com 9. As the previous examples illustrate, all statements in Vimscript are terminated by a newline (as in shell scripts or Python). 如此前的例子所示,Vimscript中的所有语句都以换行符结尾(和shell脚本或Python一样)。 www.ibm.com 10. And if you want curses, as the Monty Python Flying Circus skit reminds us, you'll need to go down the hall. 如果你想骂人,就要像滑稽短剧《巨蟒剧团之飞翔的马戏团》[2]里提示的那样,必须下到大厅里去。 dongxi.net 1. Obviously, many excellent Python programmers disagree with me on this. 显然,关于这一点,很多优秀的Python程序员不会赞同我。 www.ibm.com 2. The latest version of Python (version 2. 6. 1) ships with SQLite3 and is what I used for this project. Python的最新版本(2.6.1)附带SQLite3,此项目也使用这个库。 www.ibm.com 3. I honestly don't know whether the top-line productivity is as high as Python and Ruby, but I don't have any evidence that it is not. 说实话我不知道Groovy的生产效率是不是像Python和Ruby那么高,但我没有看到任何反面的证据。 www.infoq.com 4. Later, he grabs the Sword of Gryffindor and chops the head off a python in a manner that suggests he is onstage at a Black Sabbath concert. 而后,当他抓住格兰芬多之剑并且砍下一头巨蟒的脑袋时,他的动作看起来就像他正站在“黑色安息日乐团”(BlackSabbath)演唱会的舞台中央。 www.bing.com 5. Readers who wish to use xml_indexer as part of their own larger Python projects should find its further specialization equally simple. 那些希望在自己比较大型Python项目中使用xml_indexer的读者应该会发现其更深一层的专门化是相当简单的。 www.ibm.com 6. Second, everything in a Python program is an object accessible from within your program, even the code you write. 第二,Python程序中的所有东西都是可以从程序访问的对象,即使是您编写的代码也不例外。 www.ibm.com 7. Well, the answer is no, at least in Python. 不是的,至少在Python中答案是否定的。 www.ibm.com 8. Python allows you to do any number of string-based operations. Python允许您随意执行基于字符串的操作。 www.ibm.com 9. You can use either type of quotation mark to indicate a string in Python, as long as you're consistent. 您可以使用任意一类引号来表示Python中的字符串,只要引号一致就行。 www.ibm.com 10. Python's readlines routine is used to read all lines in a file into a list of strings. Python的readlines例程用于将一个文件的所有行读取到一列字符串中。 www.ibm.com 1. Installation is simple: just create a directory and unzip the archive to a location on your Python path. 安装很简单:就是创建一个目录,然后将压缩文档解压缩(unzip)到您的Python路径上的一个位置中。 www.ibm.com 2. In the last five years the list of virgin mothers has expanded to include a python, hammerhead sharks, blacktip sharks, and Komodo dragons. 在过去的五年里,发现的单性生殖的雌性动物的包括了蟒蛇,锤头鲨,黑鳍鲨,和科莫多巨蜥。 www.bing.com 3. The Zope 3 binary distributions are always compiled with the same compiler as the standard Python distribution for the operating system. Zope3的二进制分发版总是使用与Python标准版一样的编译器编译的。 wiki.ubuntu.org.cn 4. In Python, a function is a first-class object, like an integer variable or a container object. 在Python中,函数是一类对象,与整型变量和容器对象相同。 www.ibm.com 5. Monty Python came up with a semaphore version of Wuthering Heights, the novel that also gave Kate Bush her debut single. 巨蟒剧团(MontyPython)还制作了由演员用旗语交流的信号灯版《呼啸山庄》,凯特·布什在其中首次献唱。 www.bing.com 6. Formally, a complex number has a real and an imaginary component, both represented by float types in Python. 从形式上讲,复数具有实部和虚部两个部分,都由Python中的float类型来表示。 www.ibm.com 7. This deluge of options harms the regularity of Python and makes it harder to understand for non-experts (and even for experts). 过多的方法损害了Python的正则性,使非专家人员(甚至专家)难于理解。 www.ibm.com 8. In an Indonesian slaughterhouse workmen slit open wild-caught blood python s, pumped full of water and air for ease of skinning. 在印度尼西亚一家屠宰场,工人们正在切开从野外捕获来的大血蟒,每条蟒均被注满了水和空气以便易于剥皮。 blog.sina.com.cn 9. There is also an API that you can script against, so you can combine what you've learned here with a full-blown Python NMS. 还有一个API,您可以利用它来编写脚本,因此您可以将这里所学到的内容和全面的PythonNMS相结合。 www.ibm.com 10. We were unable to support some of the new Python features with jythonc because of its internal design. 由于内部设计的原因,jythonc还无法支持某些新的Python特性。 www.infoq.com 1. If you can wrap new widgets as you find them, you can use them in your Python programs right away. 如果您在发现新的窗口小部件时可以将它们封装,那么您就可以立刻在Python程序中使用它们。 www.ibm.com 2. By publishing your package on the Python Package Index (PyPI), you'll make it easily accessible through utilities like pip or easy_install. 如果在PythonPackageIndex(PyPI)上发布您的包,那么就可以通过像pip或easy_install这样的实用工具轻易地对其进行访问。 www.ibm.com 3. Which extends Python with a full scientific array language complete with sophisticated indexing. 它用非常科学的数组语言以及成熟的建立下标方法扩展了Python。 www-128.ibm.com 4. As in Python string literals, the backslash can be followed by various characters to signal various special sequences. 做为Python中的字符串字母,反斜杠后面可以加不同的字符以表示不同特殊意义。 blog.sina.com.cn 5. My path never took me too far down the Perl road, but I taught myself Python using the excellent and free online book, Dive into Python. 我的学习道路一直没离开Perll太远,我自学Python使用的是这本优秀的在线免费书DiveintoPython。 kb.cnblogs.com 6. Stackless Python implements concurrency through the use of its own scheduler and special primitives called "tasklets. " StacklessPython通过使用自己的调度实现和特殊的primitives(tasklets)来改善并发性能。 www.bing.com 7. The specifics of what this support function will do depend, in general, upon the states of various Python objects held in memory. 支持函数将做什么的具体细节通常取决于保存在内存中的各种Python对象的状态。 www.ibm.com 8. To actually use SQLObject, you need to set up a database package and the Python interface to that type of database. 要实际使用SQLObject,需要设置数据库包以及这种数据库的Python接口。 www.ibm.com 9. A month before I started this article I was looking for a small project that I could use to teach myself Python. 在我开始撰写本文的一个月之前,我正在寻找一个能够用于自学Python的小项目。 www.ibm.com 10. People are really getting caught up in Python mania. 现在人们正赶上Python的热潮。 www-128.ibm.com 1. In the hand-written Python code, each item of output had to be appended manually to the list l of output strings. 在手工编写的Python代码中,必须将每个输出项手工添加到输出字符串的列表l中。 www.ibm.com 2. He describes PEP 249 as the Python Database API Specification which needs to be followed to create the basic database provider used. 他介绍了作为Python数据库API规格说明书的PEP249,它需要创建一个基本的数据库提供器来使用。 www.infoq.com 3. When you use the Python debugger, be sure you add the Pyjamas and Pyjamas-Desktop libs to your path, as shown in listing 10. 在使用Python调试器时,一定要把Pyjamas和Pyjamas-Desktop库添加到路径中,见清单10。 www.ibm.com 4. The simplest way to call Python from Zope is to make your Python code an External Method. 从Zope调用Python的最简单的方式是把您的Python代码做成外部方法。 www.ibm.com 5. A clean, and non-ugly, solution to the above need might be to add class decorators to Python. 上述问题的一种干净、漂亮的解决方案可能需要向Python添加类装饰器。 www.ibm.com 6. In the year since those initial writings, however, the state of XML tools for Python has advanced significantly. 然而,在那些最初的文章出现后,Python中的XML工具有了很大的发展。 www-128.ibm.com 7. And " Discover Python, Part 5" introduces the concept of compound statements in Python, and the if statement and the while loop. “探索Python,第5部分”介绍了Python中复合语句的概念,并介绍了if语句和while循环。 www.ibm.com 8. 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脚本。 www.ibm.com 9. Downloads, late developments, and documentation for the Python language can be found at the. 上找到有关Python语言的下载、最新开发和文档。 www-128.ibm.com 10. It's important to note that Django's template system does not allow Python code to be executed directly from the template. 注意,Django的模板系统不允许直接从模板执行Python代码。 www.ibm.com 1. Image 2: A researcher measures the length of a captured Burmese python. 图片2:一位研究者测量捕获到巨蟒的长度。 www.bing.com 2. The page refers to it as a structured data type similar to variables in Python or Perl. 这个页面将其称作一个类似于Python或Perl中的变量的结构化数据类型。 www.ibm.com 3. TurboGears is one of the first large Python projects to use setuptools for distribution and installation. TurboGears是第一个使用setuptools工具来进行分发和安装的大型Python项目。 www.ibm.com 4. Quite a number of Python programmers have recommended Spark to me. 很多Python程序员都向我推荐Spark。 www-128.ibm.com 5. The scripts directory contains python scripts used to install and uninstall the application. 脚本目录包含用于安装和卸载应用程序的python脚本。 www.ibm.com 6. Is an all-Java application that allows developers to use the syntax and most of the features of the Python programming language. 是一个十足的Java应用程序,它允许开发人员使用Python编程语言的语法和大多数特性。 www-128.ibm.com 7. If you haven't already done so, fire up a Python interpreter and try some of the ideas I've discussed. 如果您尚未理解,则请启动一个Python解释器,并尝试按照我上面讨论的方法操作。 www.ibm.com 8. The for loop in Python is special and is closely tied to the container data types built into the Python programming language. Python中的for循环很特殊,与Python编程语言中内置的容器数据类型紧密相关。 www.ibm.com 9. In terms of promise, however, anygui excites me more than any Python library I've seen in a good while. 然而在承诺方面,在很长一段时间内anygui与我看到的任何Python库相比,更令我兴奋。 www.ibm.com 10. Given that background, you might wonder if the same tricks can be applied to the Python string. 根据这一情况,您可能想知道是否可以将同一技巧应用于Python字符串。 www-128.ibm.com 1. If PyDev is not able to find your Python interpreter, or if you want to use a different one, configure it here (see Figure 2). 如果PyDev无法找到Python解释器,或者想使用别的解释器,可在此设置(请参阅图2)。 www.ibm.com 2. This Python module can be used as a runtime utility and can also be easily extended by custom applications that use its services. 这个Python模块可以用作运行时实用程序,也可以方便地由使用其服务的定制应用程序扩展。 www.ibm.com 3. In particular, it is not very Pythonic to access data using getters and setters, or other similar methods. 具体地说,使用getter和setter或其他类似的方法来访问数据不太符合Python的习惯。 www.ibm.com 4. PyTyle is a Python script intended to mimic the behaviour of a tiling window manager within a different window manager. PyTyle是一个致力于在不同窗口管理器中模拟平铺式窗口管理器的Python脚本。 www.bing.com 5. SQLObject has a setup. py file and installs in the same way as any other Python package. SQLObject具有一个setup.py文件,安装方式与其他任何Python包一样。 www.ibm.com 6. With some fairly simple changes, you made a Python script call a Ruby script, and it just looks like a normal call to another Python module. 只需要进行一些相当简单的更改,就可以让Python脚本调用Ruby脚本,而且看起来与调用另一个Python模块的普通调用没有什么区别。 www.ibm.com 7. The standard Python system comes with a variety of modules well-suited to Internet development. 标准的Python系统附带了各式各样的模块,这些模块很适合进行因特网开发。 www.ibm.com 8. Given the effective requirement for Python 2. 0 in terms of the XML packages, I also allowed in a few other changes with Python 2. 0 syntax. 假设在XML软件包方面有对Python2.0的有效需求,我也允许对Python2.0语法进行一些其它的更改。 www.ibm.com 9. Then any time python sees length in the body of the function, it substitutes that value. 然后任何时候python在函数的语句中看到length,都会用那个值来代替它。 wiki.woodpecker.org.cn 10. We need to know that we are in a "blockquote" state to determine that the line is part of a comment rather than a Python action. 我们应知道我们处于“块引用”状态以确定这行代码是一部分注释而不是Python操作。 www.ibm.com 1. Therefore, within the deployer, a mapping is required between the Python data types and the XML schema data types. 因此,在部署程序中,需要在Python数据类型与XML模式数据类型之间建立映射关系。 www.ibm.com 2. For purposes of my testing, I used a Python implementation created by a correspondent of mine named John Barham. 我出于测试目的,使用了由我的通信者JohnBarham所创建的Python实现。 www.ibm.com 3. In fact, one of the main joys of using Python is the well organized and ever useful Python web site. 实际上,使用Python的一个主要的另人满意的事就是其有组织良好而且很有用的Python网站。 www.bing.com 4. But the language of a DTD is un-Pythonic, and xmlproc just uses it as data that needs to be parsed. 但是DTD的语言并不是Python式的,xmlproc只将它用作需要解析的数据。 www.ibm.com 5. Most popular programming languages have several built-in data types, and Python is no different in this respect. 大多数流行的编程语言都有多个内置的数据类型,在这一方面Python也一样。 www.ibm.com 6. Looking over the procedural Python version of our code, it quite similar to both the Bash and PHP versions. 浏览一下我们的代码的过程式Python版本,发现它与Bash和PHP版本非常相似。 www.ibm.com 7. Note how the Java structure is essentially identical to the Python code, except for the obvious language differences (see Listing 5). 请注意Java结构与Python代码在本质上是多么一致,只有一些明显的语言上的差异(参见清单5)。 www.ibm.com 8. Two tools that simplify working with XML in an object-oriented manner (in Python) are David Mertz' xml_objectify and xml_pickle. 两种以面向对象方式(以Python)简化使用XML的工具是DavidMertz的xml_objectify和xml_pickle。 www.ibm.com 9. One of the most popular bindings is the Python set, developed by the PyGTK project. 最受欢迎的绑定是Python集,由PyGTK项目开发。 www.ibm.com 10. The PyDev project is a set of open source development tools for the Python programming language. PyDev项目是Python编程语言的开放源码开发工具集。 www.ibm.com 1. Because life isn't described by simple concepts, Python provides a rich set of container, or collection, objects. 由于生活不是用一些简单的概念描述的,所以Python提供了一组丰富的容器(即集合)对象。 www.ibm.com 2. You might be surprised here if you are unfamiliar with the trick--Python does not have an "official" static scoping declaration. 这里,如果您不熟悉这个诀窍,可能会感到诧异―Python没有“正式”的静态范围声明。 www.ibm.com 3. Best of all, Txt2Html uses a number of programming techniques that are common to a lot of different Web-oriented uses of Python. Txt2Html最大的优点是使用许多编程技巧,而这些技巧对于不同面向Web使用Python是共通的。 www.ibm.com 4. The dictionary container type in Python is different from the other three container types in that it is an unordered collection. Python中的dictionary容器类型与这三种容器类型的不同之处在于,它是一个无序的集合。 www.ibm.com 5. The backward incompatibility with Python 1. 5 is unfortunate, but it would be too unwieldy to maintain it in this case. 不能与Python1.5向后兼容固然令人遗憾,但保留它实在难以做到。 www.ibm.com 6. Python is an accessory. Crocodile is still about pure luxury. 蟒蛇皮只是配饰之用,鳄鱼皮则仍是货真价实的奢侈品。 www.ftchinese.com 7. 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。 www.ibm.com 8. In particular, to use Pyrex, you write functions in a Python-like language that adds type-declarations to selected variables. 特别地,要使用Pyrex,需要用类似Python的语言编写函数,这种语言将类型声明添加到所选变量中。 www.ibm.com 9. Putting REs in strings keeps the Python language simpler, but has one disadvantage which is the topic of the next section. 将REs作为字符串以保证Python语言的简洁,但这样带来的一个麻烦就是象下节标题所讲的。 blog.chinaunix.net 10. Members of the XML-SIG (Special Interest Group) do much of the work of maintaining a range of XML tools for Python. XML-SIG(专门兴趣组)的成员为维护Python一系列XML工具做了许多工作。 www.ibm.com 1. The Python interpreter provides the only two bool objects needed: True and False. Python解释器提供这仅有的(也是必需的)两个bool对象:True和False。 www.ibm.com 2. Next, you use the Jython API to extract that list out of the Python runtime environment. 然后,使用JythonAPI将这个列表从Python运行时环境中提取出来。 www-128.ibm.com 3. Jython is an implementation of the high-level, dynamic, object-oriented (OO) language, Python. Jython是动态、面向对象(OO)高级语言Python的一个实现。 www.ibm.com 4. Also like the Burmese python, the African snake is a constrictor. 正如缅甸巨蟒,这种非洲蛇也属于蠎类。 ng.trends.com.cn 5. Of course, the guilt of the authors is obvious here: our earlier installments on metaclasses in Python helped popularize their usage. 当然,作者的过错也很明显:我们的关于Python中的元类的前几部分助长了这种做法的流行。 www.ibm.com 6. " Connecting databases to Python with SQLObject" mentioned the wide variety of open source object-relational mapping libraries for Python. “使用SQLObject连接数据库与Python”中提到各种用于Python的开源对象关联式映射库。 www.ibm.com 7. The power of Python is in its flexibility and simplicity. Python的强大在于它的灵活性和简约性。 www.ibm.com 8. As you can see, the applications (the one written in Java and the one written in Python) look similar in their windowing displays. 正如您可以看到的,应用程序(用Java编写的和用Python编写的)与正打开窗口中显示的类似。 www.ibm.com 9. The commotion brought out the neighborhood. Nobody dared approach the python, but they all cheered on the four brave dogs from a distance. 这场骚乱把邻居们都引来了。没人敢接近那条蟒蛇,他们都为那几条从远方来的狗叫好。 www.ebudhano.cn 10. If you run an ls command in this directory, you'll see a number of directories that contain the Python source for Sugar applications. 如果在此目录中运行ls命令,就会看到一系列目录,其中包含用于Sugar应用程序的Python源代码。 www.ibm.com 1. It's by no means comprehensive, I had to cut stuff to get just 10 (including their tendency to start randomly quoting Monty Python). 这份清单无法涵盖方方面面,我只能将整理出来的东西压缩到10个大项(包括他们开始随机地引用MontyPython台词的倾向)。 www.bing.com 2. In Python you indicate a unicode string by prepending a u, as you can see in the second line of the session. 在Python中,可以在前面加上一个u字符来表示unicode字符串,在上面这个会话的第二行中可以看到这个例子。 www.ibm.com 3. Is one of the most-used constructs in the Python programming language. 是Python编程语言中最常用的结构之一已不足为怪。 www-128.ibm.com 4. It will take a little while for Python programmers to become familiar with the ins-and-outs of generators. Python程序员需要花一点时间来熟悉生成器的来龙去脉。 www.ibm.com 5. At the same time, we saw that Python is able to maintain references between objects that are pickled as a unit. 同时,我们看到Python能够维护对象之间的引用,这些对象是作为一个单元进行pickle的。 www.ibm.com 6. The author particularly recommends ActivePython for Windows users interested in Python, because of the reliability of its installation. 因为其安装的可靠性,作者特别建议对Python感兴趣的Windows用户使用ActivePython。 www.ibm.com 7. Note: I don't recommend doing significant Python programming without a good Python IDE like Eclipse with Pydev. 注意:我并非建议在进行重要的Python编程时不使用一个良好的PythonIDE,比如带有Pydev的Eclipse。 www.ibm.com 8. Write a few sizable non-graphical programs in python - parse some text files, write a guessing game or a journal-entry program or something. 用python写几个有一定规模的非图形程序——解析某些文本文件,写一个猜数游戏或者一个流水分录程序,或者别的什么。 uil330.blog.163.com 9. Packages are a way of structuring Python's module namespace by using "dotted module names" . 包是一种管理Python模块命名空间的形式,采用“点模块名称”。 wiki.ubuntu.org.cn 10. Check to make sure everything is set up correctly by starting a Python shell and importing the boto library, as shown in Listing 3. 启动Pythonshell并导入boto库,从而确认所有设置都是正确的,见清单3。 www.ibm.com 1. Python comes with a few built-in templating systems, which work well in simple cases. Python提供了少许内置模板系统,它们在简单情况下工作得很好。 www.ibm.com 2. Returning briefly to my first article in this column, Python is a free, high-level, interpreted language developed by Guido van Rossum. 请简要回顾本专栏中的第一篇文章,Python是由GuidovanRossum开发的免费高级解释型语言。 www.ibm.com 3. In several previous articles, I have advocated the clarity and simplicity of my own Python xml_objectify module. 在前几篇文章中,我提倡我自己的Pythonxml_objectify模块的清晰性和简明性。 www.ibm.com 4. To emphasize the open, cross-platform nature of SOAP applications, I will look at clients written in Perl, Python, and PHP. 为强调SOAP应用程序的开放性、跨平台性,我将研究几个用Perl、Python和PHP写的客户机。 www.ibm.com 5. For the most part, when you want a third-party Python module or package, it is to accomplish some specialized and unusual task. 一般而言,当您想要一个第三方Python模块或软件包时,您所要做的是完成某个专门且不寻常的任务。 www.ibm.com 6. As noted, indentation in Python has meaning: You'll learn this the hard way in your first few days with the language. 之前提到,Python中的缩进是有含义的:您在刚开始学习该语言时会对此非常难以适应。 www.ibm.com 7. Another idea is to require python owners to have their pets fitted with microchips. 另一个想法是让养蛇人给他们的宠物配上微芯片。 www.ecocn.org 8. PyDev re-parses the Python file as it is being edited, and updates the Outline view, performs syntax checking, and syntax coloring. PyDev在编辑Python文件的过程中对齐进行预先解析的工作,同时更新Outline视图,执行语法检查,并用不同颜色显示语法元素。 www.ibm.com 9. The last few pages of the book have a pretty good set of FAQ-type questions about Python. 本书的最后几页是一组关于Python的相当好的FAQ类型问题。 www.ibm.com 10. These map directly to the corresponding Python request objects, and are used to perform actions on the registry. 这些消息直接映射到对应的Python请求对象,并且可以用于执行注册中心的操作。 www.ibm.com |
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。