33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
55#
6- #, fuzzy
76msgid ""
87msgstr ""
98"Project-Id-Version : Python 3.6\n "
109"Report-Msgid-Bugs-To : \n "
1110"POT-Creation-Date : 2019-10-15 07:19+0900\n "
1211"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : FULL NAME <EMAIL@ADDRESS >\n "
14- "Language-Team : LANGUAGE <LL@li.org> \n "
12+ "Last-Translator : Dong-gweon Oh <flowdas@gmail.com >\n "
13+ "Language-Team : Korean (https://python.flowdas.com) \n "
1514"MIME-Version : 1.0\n "
1615"Content-Type : text/plain; charset=utf-8\n "
1716"Content-Transfer-Encoding : 8bit\n "
1817"Generated-By : Babel 2.7.0\n "
1918
2019#: ../Doc/library/fileinput.rst:2
2120msgid ":mod:`fileinput` --- Iterate over lines from multiple input streams"
22- msgstr ""
21+ msgstr ":mod:`fileinput` --- 여러 입력 스트림에서 줄을 이터레이트 하기 "
2322
2423#: ../Doc/library/fileinput.rst:10
2524msgid "**Source code:** :source:`Lib/fileinput.py`"
26- msgstr ""
25+ msgstr "**소스 코드:** :source:`Lib/fileinput.py` "
2726
2827#: ../Doc/library/fileinput.rst:14
2928msgid ""
3029"This module implements a helper class and functions to quickly write a "
3130"loop over standard input or a list of files. If you just want to read or "
3231"write one file see :func:`open`."
3332msgstr ""
33+ "이 모듈은 표준 입력이나 파일 목록에 대한 루프를 빠르게 작성하기 위한 도우미 클래스와 함수를 구현합니다. 단지 하나의 파일을 "
34+ "읽거나 쓰려면 :func:`open`\\ 을 참조하십시오."
3435
3536#: ../Doc/library/fileinput.rst:18
3637msgid "The typical use is::"
37- msgstr ""
38+ msgstr "일반적인 사용법은 다음과 같습니다:: "
3839
3940#: ../Doc/library/fileinput.rst:24
4041msgid ""
@@ -45,6 +46,10 @@ msgid ""
4546"filenames, pass it as the first argument to :func:`.input`. A single "
4647"file name is also allowed."
4748msgstr ""
49+ "이것은 ``sys.argv[1:]``\\ 에 나열된 모든 파일의 줄을 이터레이트 하며, 목록이 비어 있으면 기본값은 "
50+ "``sys.stdin``\\ 입니다. 파일 이름이 ``'-'``\\ 이면, 이 또한 ``sys.stdin``\\ 으로 대체되고 선택적 "
51+ "인자 *mode*\\ 와 *openhook*\\ 은 무시됩니다. 대체 파일명 목록을 지정하려면, :func:`.input`\\ 의 첫 "
52+ "번째 인자로 전달하십시오. 단일 파일 이름도 허용됩니다."
4853
4954#: ../Doc/library/fileinput.rst:30
5055msgid ""
@@ -53,30 +58,35 @@ msgid ""
5358":class:`FileInput`. If an I/O error occurs during opening or reading a "
5459"file, :exc:`OSError` is raised."
5560msgstr ""
61+ "모든 파일은 기본적으로 텍스트 모드로 열리지만, :func:`.input`\\ 이나 :class:`FileInput`\\ 을 호출할 때"
62+ " *mode* 매개 변수를 지정하여 이를 재정의할 수 있습니다. 파일을 열거나 읽는 동안 I/O 에러가 발생하면, "
63+ ":exc:`OSError`\\ 가 발생합니다."
5664
5765#: ../Doc/library/fileinput.rst:35
5866msgid ":exc:`IOError` used to be raised; it is now an alias of :exc:`OSError`."
59- msgstr ""
67+ msgstr ":exc:`IOError` \\ 가 발생했었습니다; 이제 이것은 :exc:`OSError` \\ 의 별칭입니다. "
6068
6169#: ../Doc/library/fileinput.rst:38
6270msgid ""
6371"If ``sys.stdin`` is used more than once, the second and further use will "
6472"return no lines, except perhaps for interactive use, or if it has been "
6573"explicitly reset (e.g. using ``sys.stdin.seek(0)``)."
6674msgstr ""
75+ "``sys.stdin``\\ 이 두 번 이상 사용되면, 대화식으로 사용되거나 명시적으로 재설정된 경우(예를 들어, "
76+ "``sys.stdin.seek(0)``\\ 을 사용해서)를 제외하고 두 번째와 그 이후의 사용은 줄을 반환하지 않습니다."
6777
6878#: ../Doc/library/fileinput.rst:42
6979msgid ""
7080"Empty files are opened and immediately closed; the only time their "
7181"presence in the list of filenames is noticeable at all is when the last "
7282"file opened is empty."
73- msgstr ""
83+ msgstr "빈 파일은 열리고 즉시 닫힙니다; 파일명 목록에 존재함이 인식되는 유일한 시간은 마지막에 열린 파일이 비어있을 때입니다. "
7484
7585#: ../Doc/library/fileinput.rst:46
7686msgid ""
7787"Lines are returned with any newlines intact, which means that the last "
7888"line in a file may not have one."
79- msgstr ""
89+ msgstr "줄은 줄 바꿈이 그대로 유지된 채로 반환됩니다. 즉, 파일의 마지막 줄에는 줄 바꿈이 없을 수도 있습니다. "
8090
8191#: ../Doc/library/fileinput.rst:49
8292msgid ""
@@ -86,10 +96,13 @@ msgid ""
8696"*mode*, and returns an accordingly opened file-like object. Two useful "
8797"hooks are already provided by this module."
8898msgstr ""
99+ ":func:`fileinput.input`\\ 이나 :class:`FileInput()`\\ 의 *openhook* 매개 변수를 통해 "
100+ "열기 훅을 제공하여 파일을 여는 방법을 제어할 수 있습니다. 훅은 두 개의 인자 *filename*\\ 과 *mode*\\ 를 취하고,"
101+ " 그에 따라 열린 파일류 객체를 반환하는 함수여야 합니다. 이 모듈에는 두 가지 유용한 훅이 이미 제공됩니다."
89102
90103#: ../Doc/library/fileinput.rst:55
91104msgid "The following function is the primary interface of this module:"
92- msgstr ""
105+ msgstr "다음 함수는 이 모듈의 기본 인터페이스입니다: "
93106
94107#: ../Doc/library/fileinput.rst:60
95108msgid ""
@@ -98,66 +111,78 @@ msgid ""
98111"returned to use during iteration. The parameters to this function will "
99112"be passed along to the constructor of the :class:`FileInput` class."
100113msgstr ""
114+ ":class:`FileInput` 클래스의 인스턴스를 만듭니다. 인스턴스는 이 모듈의 함수에 대한 전역 상태로 사용되며, 이터레이션"
115+ " 중에 사용하기 위해 반환되기도 합니다. 이 함수의 매개 변수는 :class:`FileInput` 클래스의 생성자로 전달됩니다."
101116
102117#: ../Doc/library/fileinput.rst:65
103118msgid ""
104119"The :class:`FileInput` instance can be used as a context manager in the "
105120":keyword:`with` statement. In this example, *input* is closed after the "
106121":keyword:`!with` statement is exited, even if an exception occurs::"
107122msgstr ""
123+ ":class:`FileInput` 인스턴스는 :keyword:`with` 문에서 컨텍스트 관리자로 사용될 수 있습니다. 이 "
124+ "예제에서, 예외가 발생하더라도 :keyword:`!with` 문이 종료된 후 *input*\\ 이 닫힙니다::"
108125
109126#: ../Doc/library/fileinput.rst:73 ../Doc/library/fileinput.rst:166
110127msgid "Can be used as a context manager."
111- msgstr ""
128+ msgstr "컨텍스트 관리자로 사용할 수 있습니다. "
112129
113130#: ../Doc/library/fileinput.rst:76
114131msgid "The keyword parameters *mode* and *openhook* are now keyword-only."
115- msgstr ""
132+ msgstr "키워드 매개 변수 *mode* \\ 와 *openhook* \\ 은 이제 키워드 전용입니다. "
116133
117134#: ../Doc/library/fileinput.rst:80
118135msgid ""
119136"The following functions use the global state created by "
120137":func:`fileinput.input`; if there is no active state, :exc:`RuntimeError`"
121138" is raised."
122139msgstr ""
140+ "다음 함수는 :func:`fileinput.input`\\ 에 의해 만들어진 전역 상태를 사용합니다; 활성 상태가 없으면, "
141+ ":exc:`RuntimeError`\\ 가 발생합니다."
123142
124143#: ../Doc/library/fileinput.rst:86
125144msgid ""
126145"Return the name of the file currently being read. Before the first line "
127146"has been read, returns ``None``."
128- msgstr ""
147+ msgstr "현재 읽고 있는 파일의 이름을 반환합니다. 첫 번째 줄을 읽기 전에는, ``None`` \\ 을 반환합니다. "
129148
130149#: ../Doc/library/fileinput.rst:92
131150msgid ""
132151"Return the integer \" file descriptor\" for the current file. When no file"
133152" is opened (before the first line and between files), returns ``-1``."
134153msgstr ""
154+ "현재 파일의 정수 \" 파일 기술자\" 를 반환합니다. 파일이 열리지 않았으면 (첫 번째 줄 전과 파일 사이에), ``-1``\\ 을 "
155+ "반환합니다."
135156
136157#: ../Doc/library/fileinput.rst:98
137158msgid ""
138159"Return the cumulative line number of the line that has just been read. "
139160"Before the first line has been read, returns ``0``. After the last line "
140161"of the last file has been read, returns the line number of that line."
141162msgstr ""
163+ "방금 읽은 줄의 누적 줄 번호를 반환합니다. 첫 번째 줄을 읽기 전에는, ``0``\\ 을 반환합니다. 마지막 파일의 마지막 줄을 "
164+ "읽은 후에는, 그 줄의 줄 번호를 반환합니다."
142165
143166#: ../Doc/library/fileinput.rst:105
144167msgid ""
145168"Return the line number in the current file. Before the first line has "
146169"been read, returns ``0``. After the last line of the last file has been "
147170"read, returns the line number of that line within the file."
148171msgstr ""
172+ "현재 파일의 줄 번호를 반환합니다. 첫 번째 줄을 읽기 전에는, ``0``\\ 을 반환합니다. 마지막 파일의 마지막 줄을 읽은 "
173+ "후에는, 그 줄의 파일 내에서의 줄 번호를 반환합니다."
149174
150175#: ../Doc/library/fileinput.rst:112
151176msgid ""
152177"Returns true if the line just read is the first line of its file, "
153178"otherwise returns false."
154- msgstr ""
179+ msgstr "방금 읽은 줄이 파일의 첫 번째 줄이면 참을, 그렇지 않으면 거짓을 반환합니다. "
155180
156181#: ../Doc/library/fileinput.rst:118
157182msgid ""
158183"Returns true if the last line was read from ``sys.stdin``, otherwise "
159184"returns false."
160- msgstr ""
185+ msgstr "마지막 줄을 ``sys.stdin`` \\ 에서 읽었으면 참을, 그렇지 않으면 거짓을 반환합니다. "
161186
162187#: ../Doc/library/fileinput.rst:124
163188msgid ""
@@ -169,16 +194,20 @@ msgid ""
169194"to skip the first file. After the last line of the last file has been "
170195"read, this function has no effect."
171196msgstr ""
197+ "다음 이터레이션에서 다음 파일(있다면)의 첫 번째 줄을 읽도록 현재 파일을 닫습니다; 파일에서 읽지 않은 줄은 누적 줄 수에 "
198+ "포함되지 않습니다. 파일명은 다음 파일의 첫 번째 줄을 읽을 때까지 변경되지 않습니다. 첫 번째 줄을 읽기 전에는, 이 함수가 "
199+ "효과가 없습니다; 첫 번째 파일을 건너뛰는 데 사용할 수 없습니다. 마지막 파일의 마지막 줄을 읽은 후에는, 이 함수는 효과가 "
200+ "없습니다."
172201
173202#: ../Doc/library/fileinput.rst:134
174203msgid "Close the sequence."
175- msgstr ""
204+ msgstr "시퀀스를 닫습니다. "
176205
177206#: ../Doc/library/fileinput.rst:136
178207msgid ""
179208"The class which implements the sequence behavior provided by the module "
180209"is available for subclassing as well:"
181- msgstr ""
210+ msgstr "모듈이 제공하는 시퀀스 동작을 구현하는 클래스는 서브 클래싱에도 사용할 수 있습니다: "
182211
183212#: ../Doc/library/fileinput.rst:142
184213msgid ""
@@ -191,38 +220,50 @@ msgid ""
191220"sequence behavior. The sequence must be accessed in strictly sequential "
192221"order; random access and :meth:`~io.TextIOBase.readline` cannot be mixed."
193222msgstr ""
223+ ":class:`FileInput` 클래스는 구현입니다; 그 메서드 :meth:`filename`, :meth:`fileno`, "
224+ ":meth:`lineno`, :meth:`filelineno`, :meth:`isfirstline`, :meth:`isstdin`,"
225+ " :meth:`nextfile` 및 :meth:`close`\\ 는 모듈에 있는 같은 이름의 함수에 해당합니다. 또한 다음 입력 줄을"
226+ " 반환하는 :meth:`~io.TextIOBase.readline` 메서드와 시퀀스 동작을 구현하는 "
227+ ":meth:`__getitem__` 메서드가 있습니다. 시퀀스는 엄격하게 순차적으로 액세스해야 합니다; 무작위 액세스와 "
228+ ":meth:`~io.TextIOBase.readline`\\ 은 혼합될 수 없습니다."
194229
195230#: ../Doc/library/fileinput.rst:151
196231msgid ""
197232"With *mode* you can specify which file mode will be passed to "
198233":func:`open`. It must be one of ``'r'``, ``'rU'``, ``'U'`` and ``'rb'``."
199234msgstr ""
235+ "*mode*\\ 로 :func:`open`\\ 에 전달할 파일 모드를 지정할 수 있습니다. ``'r'``, ``'rU'``, "
236+ "``'U'`` 및 ``'rb'`` 중 하나여야 합니다."
200237
201238#: ../Doc/library/fileinput.rst:154
202239msgid ""
203240"The *openhook*, when given, must be a function that takes two arguments, "
204241"*filename* and *mode*, and returns an accordingly opened file-like "
205242"object. You cannot use *inplace* and *openhook* together."
206243msgstr ""
244+ "*openhook*\\ 이 제공되면 두 개의 인자 *filename*\\ 과 *mode*\\ 를 취하고, 이에 따라 열린 파일류 객체를 "
245+ "반환하는 함수여야 합니다. *inplace*\\ 와 *openhook*\\ 을 함께 사용할 수 없습니다."
207246
208247#: ../Doc/library/fileinput.rst:158
209248msgid ""
210249"A :class:`FileInput` instance can be used as a context manager in the "
211250":keyword:`with` statement. In this example, *input* is closed after the "
212251":keyword:`!with` statement is exited, even if an exception occurs::"
213252msgstr ""
253+ ":class:`FileInput` 인스턴스는 :keyword:`with` 문에서 컨텍스트 관리자로 사용될 수 있습니다. 이 "
254+ "예제에서, 예외가 발생하더라도 :keyword:`!with` 문이 종료된 후 *input*\\ 이 닫힙니다::"
214255
215256#: ../Doc/library/fileinput.rst:169
216257msgid "The ``'rU'`` and ``'U'`` modes."
217- msgstr ""
258+ msgstr "``'rU'`` \\ 와 ``'U'`` 모드. "
218259
219260#: ../Doc/library/fileinput.rst:172
220261msgid "Support for :meth:`__getitem__` method is deprecated."
221- msgstr ""
262+ msgstr ":meth:`__getitem__` 메서드에 대한 지원은 폐지되었습니다. "
222263
223264#: ../Doc/library/fileinput.rst:175
224265msgid "The keyword parameter *mode* and *openhook* are now keyword-only."
225- msgstr ""
266+ msgstr "키워드 매개 변수 *mode* \\ 와 *openhook* \\ 은 이제 키워드 전용입니다. "
226267
227268#: ../Doc/library/fileinput.rst:180
228269msgid ""
@@ -238,10 +279,16 @@ msgid ""
238279"the output file is closed. In-place filtering is disabled when standard "
239280"input is read."
240281msgstr ""
282+ "**선택적 제자리 필터링(in-place filtering):** 키워드 인자 ``inplace=True``\\ 가 "
283+ ":func:`fileinput.input`\\ 이나 :class:`FileInput` 생성자로 전달되면, 파일이 백업 파일로 이동되고"
284+ " 표준 출력은 입력 파일로 보내집니다 (백업 파일과 같은 이름의 파일이 이미 있으면, 조용히 대체됩니다). 이를 통해 입력 파일을 "
285+ "다시 쓰는 필터를 작성할 수 있습니다. *backup* 매개 변수가 제공되면 (일반적으로 ``backup='.<some "
286+ "extension>'``\\ 으로), 백업 파일의 확장자를 지정하고, 백업 파일은 그대로 남아 있습니다; 기본적으로 확장자는 "
287+ "``'.bak'``\\ 이고, 출력 파일을 닫을 때 삭제됩니다. 표준 입력을 읽을 때는 제자리 필터링이 비활성화됩니다."
241288
242289#: ../Doc/library/fileinput.rst:192
243290msgid "The two following opening hooks are provided by this module:"
244- msgstr ""
291+ msgstr "이 모듈은 다음과 같은 두 개의 열기 훅을 제공합니다: "
245292
246293#: ../Doc/library/fileinput.rst:196
247294msgid ""
@@ -251,66 +298,35 @@ msgid ""
251298"``'.bz2'``, the file is opened normally (ie, using :func:`open` without "
252299"any decompression)."
253300msgstr ""
301+ ":mod:`gzip`\\ 과 :mod:`bz2` 모듈을 사용하여 gzip과 bzip2로 압축된 파일(확장자 ``'.gz'``\\ 와 "
302+ "``'.bz2'``\\ 로 인식합니다)을 투명하게 엽니다. 파일명 확장자가 ``'.gz'``\\ 나 ``'.bz2'``\\ 가 아니면, "
303+ "파일이 정상적으로 열립니다 (즉, 압축 해제 없이 :func:`open`\\ 을 사용합니다)."
254304
255305#: ../Doc/library/fileinput.rst:201
256306msgid ""
257307"Usage example: ``fi = "
258308"fileinput.FileInput(openhook=fileinput.hook_compressed)``"
259- msgstr ""
309+ msgstr "사용 예: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed)`` "
260310
261311#: ../Doc/library/fileinput.rst:206
262312msgid ""
263313"Returns a hook which opens each file with :func:`open`, using the given "
264314"*encoding* and *errors* to read the file."
265315msgstr ""
316+ "주어진 *encoding*\\ 과 *errors*\\ 를 사용하여 파일을 읽도록 :func:`open`\\ 으로 각 파일을 여는 훅을 "
317+ "반환합니다."
266318
267319#: ../Doc/library/fileinput.rst:209
268320msgid ""
269321"Usage example: ``fi = "
270322"fileinput.FileInput(openhook=fileinput.hook_encoded(\" utf-8\" , "
271323"\" surrogateescape\" ))``"
272324msgstr ""
325+ "사용 예: ``fi = "
326+ "fileinput.FileInput(openhook=fileinput.hook_encoded(\" utf-8\" , "
327+ "\" surrogateescape\" ))``"
273328
274329#: ../Doc/library/fileinput.rst:213
275330msgid "Added the optional *errors* parameter."
276- msgstr ""
277-
278- #~ msgid ""
279- #~ "Deprecated since version 3.6, will be"
280- #~ " removed in version 3.8: The bufsize"
281- #~ " parameter."
282- #~ msgstr ""
283-
284- #~ msgid ""
285- #~ "The :class:`FileInput` instance can be "
286- #~ "used as a context manager in the"
287- #~ " :keyword:`with` statement. In this "
288- #~ "example, *input* is closed after the "
289- #~ ":keyword:`with` statement is exited, even "
290- #~ "if an exception occurs::"
291- #~ msgstr ""
292-
293- #~ msgid ""
294- #~ "A :class:`FileInput` instance can be "
295- #~ "used as a context manager in the"
296- #~ " :keyword:`with` statement. In this "
297- #~ "example, *input* is closed after the "
298- #~ ":keyword:`with` statement is exited, even "
299- #~ "if an exception occurs::"
300- #~ msgstr ""
301-
302- #~ msgid ""
303- #~ "This iterates over the lines of "
304- #~ "all files listed in ``sys.argv[1:]``, "
305- #~ "defaulting to ``sys.stdin`` if the list"
306- #~ " is empty. If a filename is "
307- #~ "``'-'``, it is also replaced by "
308- #~ "``sys.stdin``. To specify an alternative "
309- #~ "list of filenames, pass it as the"
310- #~ " first argument to :func:`.input`. A "
311- #~ "single file name is also allowed."
312- #~ msgstr ""
313-
314- #~ msgid "The *bufsize* parameter."
315- #~ msgstr ""
331+ msgstr "선택적 *errors* 매개 변수를 추가했습니다."
316332
0 commit comments