• In the Python language, everything is an object a program can access, including simple types that hold integers, as well as the actual code you write and its representation in the Python interpreter.

    Python语言中,所有事物都程序可以访问对象其中包括保存整数简单类型以及编写实际代码这些代码在Python解释器中的表示

    youdao

  • As always, for more information about a Python topic, you can use the built-in help interpreter. For example, Listing 2 shows the start of the help description for the list class.

    往常一样要获取有关Python主题更多信息可以使用内置帮助解释器例如清单2展示如何开始list类的帮助描述

    youdao

  • Sys contains data and methods for interacting with the Python interpreter.

    sys包含用于Python解释器交互数据方法

    youdao

  • The Python interpreter, at its simplest level, operates in a similar manner, starting at the top of a program and sequentially executing program statements in a linear fashion.

    Python解释器最简单级别类似方式操作,即程序顶端开始,然后行一行地顺序执行程序语句

    youdao

  • The order of mappings in a Python dictionary is arbitrary and can vary across different Python installations or even from running the same code more than once using the same Python interpreter.

    Pythondictionary映射次序任意对于不同Python安装可能会有变化甚至多次使用同一 Python解释器运行相同代码也会有变化。

    youdao

  • If you don't specify all of the parameters during a function invocation; you must explicitly name the parameters you're specifying so the Python interpreter can properly call the function.

    如果函数调用期间指定全部参数必须显式地写出指定参数名称,以使Python解释器能够正确地调用函数。

    youdao

  • The shell and its underlying library are written in Python, and PSSH is easy to install assuming that your system already has the Python interpreter and core libraries (see Listing 3).

    这个shell底层Python编写的,如果系统已经安装Python解释器核心,就容易安装它(清单3)。

    youdao

  • This simplicity demonstrates one of the primary benefits of using the Python interpreter.

    这种简单性就是使用Python解释器主要优点之一

    youdao

  • The Python interpreter supports interactive execution of Python code.

    Python解释器支持Python代码交互式执行

    youdao

  • 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解释器

    youdao

  • 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解释器读取处理文件内容

    youdao

  • Run-time variables are simply the raw bytecodes and object structures that the regular Python interpreter handles.

    运行时变量只是常规Python解释器处理原始字节码对象结构

    youdao

  • Once you've done so, start a new Python interpreter in the directory where you saved test.py, and enter the Python statements shown in Listing 6.

    完成上一步后,保存test .py目录启动一个新的Python解释器然后输入如清单6语句

    youdao

  • On UNIX-based operating systems, this line causes the Python interpreter to start up automatically and process the statements in the file before terminating.

    基于UNIX操作系统中,本行使Python解释器自动启动终止处理文件中的语句

    youdao

  • When a module is imported, the Python interpreter processes each line in the module file.

    导入一个模块Python解释器处理模块文件各行。

    youdao

  • For one thing, that it's easy to get help from the Python interpreter, but more on that later.

    只有一个事情就是可以方便Python解释器得到帮助但是后面部分可以获得更多帮助。

    youdao

  • If you haven't already done so, fire up a Python interpreter and try some of the ideas I've discussed.

    如果尚未理解,则请启动一个Python解释器尝试按照上面讨论方法操作。

    youdao

  • The Python interpreter provides the only two bool objects needed: True and False.

    Python解释器提供仅有的(也是必需的)两个bool对象TrueFalse

    youdao

  • On the first line, you see what's called the hash-bang line, which identifies the location of the Python interpreter.

    第一中,可以看到一个 hash-bang 行:用于标识Python解释器位置

    youdao

  • It then proceeds to take the remainder of the file as input to the Python interpreter.

    然后它将文件剩下部分作为Python解释器输入

    youdao

  • This can easily change with a new Python interpreter, so it's important that you never rely on items being in a specific order within a dictionary.

    新的Python解释器容易改变这一次序所以一定不要依赖于元素在dictionary中的特定次序。

    youdao

  • Name the configuration something like "pythonInteractive", set the Location to point to your Python interpreter, and pass "-i" as the single argument (see Figure 7).

    配置命名为诸如 "pythonInteractive"之类,然后设置Location,令其指向Python解释器,接着,将 "-i"作为唯一参数传递进来(请参阅7)。

    youdao

  • The Python interpreter output is displayed in the Console view.

    Python解释器输出显示Console视图中。

    youdao

  • The pytext embedded Python interpreter

    pytext嵌入式Python解释器

    youdao

  • For example, when you open a new Python interpreter, you must type in all the functions previously created.

    例如打开一个新的Python解释器时必须键入之前所创建所有函数

    youdao

  • To find out more about how to use a dictionary in Python, you can use the built-in help interpreter to learn about the dict class, as shown in Listing 2.

    进一步了解如何使用Python中的dictionary可以使用内置的帮助解释器了解dict如清单2

    youdao

  • You can test that you have version 0.5.x by issuing this command in the IPython, or regular Python, interpreter.

    可以测试自己的版本是否为 0.5.x,方法是IPython普通Python解释器中发起以下命令

    youdao

  • If you want to know more about the help facilities within Python, just enter help at a command prompt in the Python interpreter to access the interactive help utility (see Listing 4).

    如果详细了解Pythonhelp工具只需Python解释器中的命令提示符下键入help,就可以访问交互式帮助工具(参见清单4)。

    youdao

  • You can classify all the Python classes below the PyObject class into four main categories that the Python run-time interpreter USES.

    可以将pyobject之下所有python划分Python运行时解释器可以使用四个主要类别

    youdao

  • You can classify all the Python classes below the PyObject class into four main categories that the Python run-time interpreter USES.

    可以将pyobject之下所有python划分Python运行时解释器可以使用四个主要类别

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定