We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc30980d commit6146d98Copy full SHA for 6146d98
library/zipfile.po
@@ -234,6 +234,21 @@ msgid ""
234
"``'a'`` and the file does not exist at all, it is created. If *mode* is "
235
"``'r'`` or ``'a'``, the file should be seekable."
236
msgstr""
237
+"*mode* パラメータには、既存のファイルを読み込む場合は ``'r'`` 、内容を消去し"
238
+"て新しいファイルに書き込む場合は ``'w'`` 、既存のファイルの末尾に追加する場"
239
+"合は ``'a'`` 、ファイルが存在しない場合にのみファイルを作成して書き込む場合"
240
+"は ``'x'`` を指定します。\n"
241
+"*mode* が ``'x'`` で *file* が既存のファイルを指している場合、 :exc:"
242
+"`FileExistsError` が発生します。\n"
243
+"*mode* が ``'a'`` で *file* が既存の ZIP ファイルを指している場合、新しい "
244
+"ZIP アーカイブがそのファイルに追加されます。\n"
245
+"*file* が ZIP ファイルでない場合は、ファイルの末尾にあたらしい ZIP アーカイブ"
246
+"が追加されます。\n"
247
+"これは、既存のファイル (例えば :file:`python.exe`) に ZIP アーカイブを付け加"
248
+"える用途を想定したものです。\n"
249
+"*mode* が ``'a'`` で *file* が存在しない場合は、ファイルが作成されます。\n"
250
+"*mode* が ``'r'`` か ``'a'`` の場合、ファイルはシーク可能である必要がありま"
251
+"す。"
252
253
#:../../library/zipfile.rst:159
254
msgid""