@@ -212,28 +212,37 @@ msgid "Executing modules as scripts"
212212msgstr "Wykonywanie modułów jako skryptów"
213213
214214msgid "When you run a Python module with ::"
215- msgstr ""
215+ msgstr "Kiedy uruchamiasz moduł Pythona:: "
216216
217217msgid ""
218218"the code in the module will be executed, just as if you imported it, but "
219219"with the ``__name__`` set to ``\" __main__\" ``. That means that by adding "
220220"this code at the end of your module::"
221221msgstr ""
222+ "kod w module zostanie wykonany, tak jakbyś go zaimportował, ale z "
223+ "``__name__``ustawionym na``\" __main__\" ``. To oznacza, że dodając ten kod na "
224+ "końcu swojego modułu::"
222225
223226msgid ""
224227"you can make the file usable as a script as well as an importable module, "
225228"because the code that parses the command line only runs if the module is "
226229"executed as the \" main\" file:"
227230msgstr ""
231+ "możesz uczynić plik używalnym zarówno jako skrypt oraz jako importowalny "
232+ "moduł, ponieważ kod, który parsuje linię komend uruchamia się tylko jeśli "
233+ "moduł jest wykonywany jako plik „główny”:"
228234
229235msgid "If the module is imported, the code is not run::"
230- msgstr ""
236+ msgstr "Jeśli moduł jest zaimportowany, kod nie jest uruchamiany:: "
231237
232238msgid ""
233239"This is often used either to provide a convenient user interface to a "
234240"module, or for testing purposes (running the module as a script executes a "
235241"test suite)."
236242msgstr ""
243+ "Często się z tego korzysta, aby dodać wygodny interfejs użytkownika do "
244+ "modułu lub na potrzeby testów (uruchomienie modułu jako skryptu wykonuje "
245+ "zestaw testów)."
237246
238247msgid "The Module Search Path"
239248msgstr ""
0 commit comments