-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea1a403
commit 4cfd620
Showing
3 changed files
with
662 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Python 3.12\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-09-04 16:14+0000\n" | ||
"POT-Creation-Date: 2023-09-13 00:03+0000\n" | ||
"PO-Revision-Date: 2018-05-23 16:04+0000\n" | ||
"Last-Translator: Adrian Liaw <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
|
@@ -889,6 +889,6 @@ msgid "" | |
"term:`generator`\\s which incur interpreter overhead." | ||
msgstr "" | ||
|
||
#: ../../library/itertools.rst:1021 | ||
#: ../../library/itertools.rst:1022 | ||
msgid "The following recipes have a more mathematical flavor:" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Python 3.12\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-07-17 17:39+0800\n" | ||
"POT-Creation-Date: 2023-09-13 00:03+0000\n" | ||
"PO-Revision-Date: 2018-05-23 16:16+0000\n" | ||
"Last-Translator: Adrian Liaw <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
|
@@ -357,25 +357,17 @@ msgid "" | |
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:284 | ||
msgid "" | ||
"Optionally, delete the ``.dist-info`` directories created by pip in the " | ||
"``myapp`` directory. These hold metadata for pip to manage the packages, and " | ||
"as you won't be making any further use of pip they aren't required - " | ||
"although it won't do any harm if you leave them." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:289 | ||
msgid "Package the application using:" | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:295 | ||
#: ../../library/zipapp.rst:290 | ||
msgid "" | ||
"This will produce a standalone executable, which can be run on any machine " | ||
"with the appropriate interpreter available. See :ref:`zipapp-specifying-the-" | ||
"interpreter` for details. It can be shipped to users as a single file." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:299 | ||
#: ../../library/zipapp.rst:294 | ||
msgid "" | ||
"On Unix, the ``myapp.pyz`` file is executable as it stands. You can rename " | ||
"the file to remove the ``.pyz`` extension if you prefer a \"plain\" command " | ||
|
@@ -384,11 +376,11 @@ msgid "" | |
"extensions when installed." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:307 | ||
#: ../../library/zipapp.rst:302 | ||
msgid "Caveats" | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:309 | ||
#: ../../library/zipapp.rst:304 | ||
msgid "" | ||
"If your application depends on a package that includes a C extension, that " | ||
"package cannot be run from a zip file (this is an OS limitation, as " | ||
|
@@ -402,11 +394,11 @@ msgid "" | |
"based on the user's machine)." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:321 | ||
#: ../../library/zipapp.rst:316 | ||
msgid "The Python Zip Application Archive Format" | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:323 | ||
#: ../../library/zipapp.rst:318 | ||
msgid "" | ||
"Python has been able to execute zip files which contain a ``__main__.py`` " | ||
"file since version 2.6. In order to be executed by Python, an application " | ||
|
@@ -417,18 +409,18 @@ msgid "" | |
"the zip file." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:330 | ||
#: ../../library/zipapp.rst:325 | ||
msgid "" | ||
"The zip file format allows arbitrary data to be prepended to a zip file. " | ||
"The zip application format uses this ability to prepend a standard POSIX " | ||
"\"shebang\" line to the file (``#!/path/to/interpreter``)." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:334 | ||
#: ../../library/zipapp.rst:329 | ||
msgid "Formally, the Python zip application format is therefore:" | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:336 | ||
#: ../../library/zipapp.rst:331 | ||
msgid "" | ||
"An optional shebang line, containing the characters ``b'#!'`` followed by an " | ||
"interpreter name, and then a newline (``b'\\n'``) character. The " | ||
|
@@ -438,21 +430,21 @@ msgid "" | |
"POSIX." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:341 | ||
#: ../../library/zipapp.rst:336 | ||
msgid "" | ||
"Standard zipfile data, as generated by the :mod:`zipfile` module. The " | ||
"zipfile content *must* include a file called ``__main__.py`` (which must be " | ||
"in the \"root\" of the zipfile - i.e., it cannot be in a subdirectory). The " | ||
"zipfile data can be compressed or uncompressed." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:346 | ||
#: ../../library/zipapp.rst:341 | ||
msgid "" | ||
"If an application archive has a shebang line, it may have the executable bit " | ||
"set on POSIX systems, to allow it to be executed directly." | ||
msgstr "" | ||
|
||
#: ../../library/zipapp.rst:349 | ||
#: ../../library/zipapp.rst:344 | ||
msgid "" | ||
"There is no requirement that the tools in this module are used to create " | ||
"application archives - the module is a convenience, but archives in the " | ||
|
Oops, something went wrong.