@@ -58,14 +58,14 @@ msgstr ""
5858msgid ""
5959"The letter may be different, and there might be other things after it, so "
6060"you might just as easily see something like:"
61- msgstr ""
61+ msgstr "前面的字母可能会不同,而且后面有可能会有其他东西,所以你也许会看到类似这样的东西: "
6262
6363#: ../../faq/windows.rst:46
6464msgid ""
6565"depending on how your computer has been set up and what else you have "
6666"recently done with it. Once you have started such a window, you are well on"
6767" the way to running Python programs."
68- msgstr ""
68+ msgstr "出现的内容具体取决与你的电脑如何设置和你最近用它做的事。 当你启动了这样一个窗口后,就可以开始运行Python程序了。 "
6969
7070#: ../../faq/windows.rst:50
7171msgid ""
@@ -75,18 +75,20 @@ msgid ""
7575"your program. So, how do you arrange for the interpreter to handle your "
7676"Python?"
7777msgstr ""
78+ "Python脚本需要被另外一个叫做Python *解释器*的程序处理。 解释器读取脚本, 把它编译成字节码, 然后执行字节码来运行你的程序。 "
79+ "所以怎样安排解释器来处理Python呢?"
7880
7981#: ../../faq/windows.rst:55
8082msgid ""
8183"First, you need to make sure that your command window recognises the word "
8284"\" py\" as an instruction to start the interpreter. If you have opened a "
8385"command window, you should try entering the command ``py`` and hitting "
8486"return:"
85- msgstr ""
87+ msgstr "首先,确保命令窗口能够将 \" py \" 识别为指令来开启解释器。 如果你打开过一个命令窗口, 尝试输入命令 ``py`` 然后按回车: "
8688
8789#: ../../faq/windows.rst:64
8890msgid "You should then see something like:"
89- msgstr ""
91+ msgstr "然后你应当看见类似类似这样的东西: "
9092
9193#: ../../faq/windows.rst:72
9294msgid ""
@@ -96,6 +98,7 @@ msgid ""
9698"Check it by entering a few expressions of your choice and seeing the "
9799"results:"
98100msgstr ""
101+ "解释器已经以“交互模式”打开。这意味着你可以交互输入Python语句或表达式,并在等待时执行或评估它们。这是Python最强大的功能之一。输入几个表达式并看看结果:"
99102
100103#: ../../faq/windows.rst:84
101104msgid ""
@@ -105,6 +108,8 @@ msgid ""
105108":kbd:`Z`, then hit the \" :kbd:`Enter`\" key to get back to your Windows "
106109"command prompt."
107110msgstr ""
111+ "许多人把交互模式当作方便和高度可编程的计算器。 想结束交互式Python会话时,调用 :func:`exit` 函数,或者按住 :kbd:`Ctrl` "
112+ "键时输入 :kbd:`Z` ,之后按 :kbd:`Enter` 键返回Windows命令提示符。"
108113
109114#: ../../faq/windows.rst:90
110115msgid ""
@@ -115,6 +120,9 @@ msgid ""
115120":kbd:`Ctrl-Z` character; Windows is running a single \" python\" command in "
116121"the window, and closes it when you terminate the interpreter."
117122msgstr ""
123+ "你可能发现在开始菜单有一个这样的选项 :menuselection:`开始 --> 所有程序 --> Python 3.x --> Python "
124+ "(command line)` , 运行它后会出现一个有着 ``>>>`` 提示的想不出来口。 如果这样得话,在调用 :func:`exit` 函数或按"
125+ " :kbd:`Ctrl-Z` 组合键后窗口会消失。Windows在这个窗口中运行一个 \" python\" 命令,并且在你终止解释器的时候关闭它。"
118126
119127#: ../../faq/windows.rst:97
120128msgid ""
@@ -133,7 +141,7 @@ msgstr ""
133141
134142#: ../../faq/windows.rst:114
135143msgid "How do I make Python scripts executable?"
136- msgstr ""
144+ msgstr "我怎么让Python脚本可执行? "
137145
138146#: ../../faq/windows.rst:116
139147msgid ""
@@ -171,7 +179,7 @@ msgstr ""
171179
172180#: ../../faq/windows.rst:141
173181msgid "How do I make an executable from a Python script?"
174- msgstr ""
182+ msgstr "我怎样使用Python脚本制作可执行文件? "
175183
176184#: ../../faq/windows.rst:143
177185msgid ""
@@ -184,7 +192,7 @@ msgstr ""
184192
185193#: ../../faq/windows.rst:151
186194msgid "Is a ``*.pyd`` file the same as a DLL?"
187- msgstr ""
195+ msgstr "``*.pyd`` 文件和DLL文件相同吗? "
188196
189197#: ../../faq/windows.rst:153
190198msgid ""
@@ -209,7 +217,7 @@ msgstr ""
209217
210218#: ../../faq/windows.rst:169
211219msgid "How can I embed Python into a Windows application?"
212- msgstr ""
220+ msgstr "我怎样将Python嵌入一个Windows程序? "
213221
214222#: ../../faq/windows.rst:171
215223msgid ""
0 commit comments