File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ msgstr "平台"
245
245
<
9E33
/code>
246
246
#: ../../library/venv.rst:71
247
247
msgid "Shell"
248
- msgstr ""
248
+ msgstr "殼 "
249
249
250
250
#: ../../library/venv.rst:71
251
251
msgid "Command to activate virtual environment"
@@ -332,6 +332,10 @@ msgid ""
332
332
"Explorer window should run it with the correct interpreter without the "
333
333
"environment needing to be activated or on the :envvar:`!PATH`."
334
334
msgstr ""
335
+ "為了實現這一點,安裝在虛擬環境中的腳本會有一個 ``#!`` 行,該行指向該環境的 Python 直譯器,例如: :samp:`#!/{<path-to-venv>}/bin/python`。"
336
+ "這代表無論 :envvar:`!PATH` 的值為何,該腳本都會在直譯器上運行"
337
+ "在 Windows 上,如果你安裝了 :ref:`launcher`,則支援 ``#!`` 行處理。"
338
+ "因此,在 Windows 資源管理器窗口中雙擊已安裝的腳本,應該可以在不需要啟用環境或將其加入 :envvar:`!PATH` 的情況下,正確地運行。"
335
339
336
340
#: ../../library/venv.rst:108
337
341
msgid ""
You can’t perform that action at this time.
0 commit comments