3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
5
5
#
6
- #, fuzzy
7
6
msgid ""
8
7
msgstr ""
9
8
"Project-Id-Version : Python 3.6\n "
@@ -63,7 +62,6 @@ msgid "Error Handling"
63
62
msgstr "에러 처리"
64
63
65
64
#: ../../tutorial/appendix.rst:40
66
- #, fuzzy
67
65
msgid ""
68
66
"When an error occurs, the interpreter prints an error message and a stack"
69
67
" trace. In interactive mode, it then returns to the primary prompt; when "
@@ -106,7 +104,7 @@ msgstr "BSD 스타일의 유닉스 시스템에서 파이썬 스크립트는 셸
106
104
107
105
#: ../../tutorial/appendix.rst:65
108
106
msgid "#!/usr/bin/env python3"
109
- msgstr ""
107
+ msgstr "#!/usr/bin/env python3 "
110
108
111
109
#: ../../tutorial/appendix.rst:67
112
110
msgid ""
@@ -130,7 +128,7 @@ msgstr "스크립트는 :program:`chmod` 명령을 사용하여 실행 가능한
130
128
131
129
#: ../../tutorial/appendix.rst:77
132
130
msgid "$ chmod +x myscript.py"
133
- msgstr ""
131
+ msgstr "$ chmod +x myscript.py "
134
132
135
133
#: ../../tutorial/appendix.rst:81
136
134
msgid ""
@@ -197,29 +195,37 @@ msgid ""
197
195
" startup_file = fobj.read()\n"
198
196
" exec(startup_file)"
199
197
msgstr ""
198
+ "import os\n"
199
+ "filename = os.environ.get('PYTHONSTARTUP')\n"
200
+ "if filename and os.path.isfile(filename):\n"
201
+ " with open(filename) as fobj:\n"
202
+ " startup_file = fobj.read()\n"
203
+ " exec(startup_file)"
200
204
201
205
#: ../../tutorial/appendix.rst:124
202
206
msgid "The Customization Modules"
203
207
msgstr "커스터마이제이션 모듈"
204
208
205
209
#: ../../tutorial/appendix.rst:126
206
- #, fuzzy
207
210
msgid ""
208
211
"Python provides two hooks to let you customize it: :index:`sitecustomize`"
209
212
" and :index:`usercustomize`. To see how it works, you need first to find"
210
213
" the location of your user site-packages directory. Start Python and run"
211
214
" this code::"
212
215
msgstr ""
213
- "파이썬은 커스터마이즈할 수 있는 두 가지 훅을 제공합니다: :mod :`sitecustomize` 와 "
214
- ":mod :`usercustomize`. 어떻게 작동하는지 보려면, 먼저 여러분의 사용자 site-packages 디렉터리의 위치를 "
215
- "찾아야 합니다. 파이썬을 시작하고 다음 코드를 실행합니다::"
216
+ "파이썬은 커스터마이즈할 수 있는 두 가지 훅을 제공합니다: :index :`sitecustomize` 와 "
217
+ ":index :`usercustomize`. 어떻게 작동하는지 보려면, 먼저 여러분의 사용자 site-packages 디렉터리의 "
218
+ "위치를 찾아야 합니다. 파이썬을 시작하고 다음 코드를 실행합니다::"
216
219
217
220
#: ../../tutorial/appendix.rst:130
218
221
msgid ""
219
222
">>> import site\n"
220
223
">>> site.getusersitepackages()\n"
221
224
"'/home/user/.local/lib/python3.x/site-packages'"
222
225
msgstr ""
226
+ ">>> import site\n"
227
+ ">>> site.getusersitepackages()\n"
228
+ "'/home/user/.local/lib/python3.x/site-packages'"
223
229
224
230
#: ../../tutorial/appendix.rst:134
225
231
msgid ""
@@ -232,15 +238,14 @@ msgstr ""
232
238
"임포트를 비활성화하는 :option:`-s` 옵션으로 시작하지 않는 한, 이 파일은 모든 파이썬 실행에 영향을 줍니다."
233
239
234
240
#: ../../tutorial/appendix.rst:138
235
- #, fuzzy
236
241
msgid ""
237
242
":index:`sitecustomize` works in the same way, but is typically created by"
238
243
" an administrator of the computer in the global site-packages directory, "
239
244
"and is imported before :index:`usercustomize`. See the documentation of "
240
245
"the :mod:`site` module for more details."
241
246
msgstr ""
242
- ":mod :`sitecustomize` 는 같은 방식으로 작동하지만, 일반적으로 전역 site-packages 디렉터리에 컴퓨터 "
243
- "관리자가 만들고, :mod :`usercustomize` 전에 임포트됩니다. 자세한 내용은 :mod:`site` 모듈의 설명서를 "
247
+ ":index :`sitecustomize` 는 같은 방식으로 작동하지만, 일반적으로 전역 site-packages 디렉터리에 컴퓨터 "
248
+ "관리자가 만들고, :index :`usercustomize` 전에 임포트됩니다. 자세한 내용은 :mod:`site` 모듈의 설명서를 "
244
249
"보세요."
245
250
246
251
#: ../../tutorial/appendix.rst:145
0 commit comments