# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR , YEAR.
#
# Translators:
# python-doc bot, 2025
# Maciej Olko, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-21 14:26+0000\n"
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
"Last-Translator: Maciej Olko, 2026\n"
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10=0 && n%10=5 && "
"n%10=12 && n%100>> import os\n"
">>> os.getcwd() # Return the current working directory\n"
"'C:\\\\Python315'\n"
">>> os.chdir('/server/accesslogs') # Change current working directory\n"
">>> os.system('mkdir today') # Run the command mkdir in the system shell\n"
"0"
msgstr ""
">>> import os\n"
">>> os.getcwd() # Zwr aktualny folder roboczy\n"
"'C:\\\\Python315'\n"
">>> os.chdir('/server/accesslogs') # Zmie aktualny folder roboczy\n"
">>> os.system('mkdir today') # Uruchom komend mkdir w powoce\n"
"0"
msgid ""
"Be sure to use the ``import os`` style instead of ``from os import *``. "
"This will keep :func:`os.open` from shadowing the built-in :func:`open` "
"function which operates much differently."
msgstr ""
"Upewnij si, e uywasz stylu ``import os``, a nie ``from os import *``. W "
"tym drugim przypadku funkcja :func:`os.open` przesoni wbudowan funkcj :"
"func:`open`, ktra dziaa w skrajnie inny sposb."
msgid ""
"The built-in :func:`dir` and :func:`help` functions are useful as "
"interactive aids for working with large modules like :mod:`os`::"
msgstr ""
"Wbudowane funkcje :func:`dir` i :func:`help`, s przydatne jako interaktywne "
"pomoce do pracy z duymi moduami, takimi jak :mod:`os`::"
msgid ""
">>> import os\n"
">>> dir(os)\n"
"\n"
">>> help(os)\n"
">> # daty obsuguj arytmetyk kalendarza\n"
">>> urodziny = dt.date(1964, 7, 31)\n"
">>> wiek = teraz - birthday\n"
">>> wiek.days\n"
"14368"
msgid "Data compression"
msgstr "Kompresja danych"
msgid ""
"Common data archiving and compression formats are directly supported by "
"modules including: :mod:`zlib`, :mod:`gzip`, :mod:`bz2`, :mod:`lzma`, :mod:"
"`zipfile` and :mod:`tarfile`. ::"
msgstr ""
"Popularne formaty archiwizacji i kompresji danych s bezporednio "
"obsugiwane przez moduy, w tym: :mod:`zlib`, :mod:`gzip`, :mod:`bz2`, :mod:"
"`lzma`, :mod:`zipfile` i :mod:`tarfile`:"
msgid ""
">>> import zlib\n"
">>> s = b'witch which has which witches wrist watch'\n"
">>> len(s)\n"
"41\n"
">>> t = zlib.compress(s)\n"
">>> len(t)\n"
"37\n"
">>> zlib.decompress(t)\n"
"b'witch which has which witches wrist watch'\n"
">>> zlib.crc32(s)\n"
"226805979"
msgstr ""
">>> import zlib\n"
">>> s = b'ktora czarownica ma zegarek na nadgarstku czarownicy'\n"
">>> len(s)\n"
"52\n"
">>> t = zlib.compress(s)\n"
">>> len(t)\n"
"49\n"
">>> zlib.decompress(t)\n"
"b'ktra czarownica ma zegarek na nadgarstku czarownicy'\n"
">>> zlib.crc32(s)\n"
"2301872819"
msgid "Performance measurement"
msgstr "Mierzenie wydajnoci"
msgid ""
"Some Python users develop a deep interest in knowing the relative "
"performance of different approaches to the same problem. Python provides a "
"measurement tool that answers those questions immediately."
msgstr ""
"Niektrzy uytkownicy Python s gboko zainteresowani poznaniem wzgldnej "
"wydajnoci rnych podej do tego samego problemu. Python zapewnia "
"narzdzie pomiarowe, ktre natychmiast odpowiada na te pytania."
msgid ""
"For example, it may be tempting to use the tuple packing and unpacking "
"feature instead of the traditional approach to swapping arguments. The :mod:"
"`timeit` module quickly demonstrates a modest performance advantage::"
msgstr ""
"Na przykad kuszce moe by uycie funkcji pakowania i rozpakowywania "
"krotka zamiast tradycyjnego podejcia do zamiany argument. Modu :mod:"
"`timeit` szybko pokazuje skromn przewag wydajnoci::"
msgid ""
">>> from timeit import Timer\n"
">>> Timer('t=a; a=b; b=t', 'a=1; b=2').timeit()\n"
"0.57535828626024577\n"
">>> Timer('a,b = b,a', 'a=1; b=2').timeit()\n"
"0.54962537085770791"
msgstr ""
">>> from timeit import Timer\n"
">>> Timer('t=a; a=b; b=t', 'a=1; b=2').timeit()\n"
"0.57535828626024577\n"
">>> Timer('a,b = b,a', 'a=1; b=2').timeit()\n"
"0.54962537085770791"
msgid ""
"In contrast to :mod:`timeit`'s fine level of granularity, the :mod:`profile` "
"and :mod:`pstats` modules provide tools for identifying time critical "
"sections in larger blocks of code."
msgstr ""
"W przeciwiestwie do dokadnego poziomu szczegowoci :mod:`timeit`, "
"moduy :mod:`profile` i :mod:`pstats` zapewniaj narzdzia do identyfikacji "
"sekcji krytycznych czasowo w wikszych blok kodu."
msgid "Quality control"
msgstr "Kontrola jakoci"
msgid ""
"One approach for developing high quality software is to write tests for each "
"function as it is developed and to run those tests frequently during the "
"development process."
msgstr ""
"Jednym z podej do tworzenia wysokiej jakoci oprogramowania jest pisanie "
"testw dla kadej funkcj w trakcie jego tworzenia i czste uruchamianie tych "
"testw podczas rozwoju."
msgid ""
"The :mod:`doctest` module provides a tool for scanning a module and "
"validating tests embedded in a program's docstrings. Test construction is "
"as simple as cutting-and-pasting a typical call along with its results into "
"the docstring. This improves the documentation by providing the user with an "
"example and it allows the doctest module to make sure the code remains true "
"to the documentation::"
msgstr ""
"Modu :mod:`doctest` zapewnia narzdzie do skanowania strony modu i "
"sprawdzania poprawnoci testw osadzonych w dokumentacji programu. "
"Konstrukcja testu jest tak prosta, jak wycicie i wklejenie typowego "
"wywoania wraz z jego wynikami do docstring. Poprawia to dokumentacj "
"poprzez dostarczenie uytkownikowi przykadu i pozwala doctestowi modu "
"upewni si, e kod pozostaje prawda zgodny z dokumentacj::"
msgid ""
"def average(values):\n"
" \"\"\"Computes the arithmetic mean of a list of numbers.\n"
"\n"
" >>> print(average([20, 30, 70]))\n"
" 40.0\n"
" \"\"\"\n"
" return sum(values) / len(values)\n"
"\n"
"import doctest\n"
"doctest.testmod() # automatically validate the embedded tests"
msgstr ""
"def rednia(values):\n"
" \"\"\"Oblicza redni arytmetyczn listy liczb.\n"
"\n"
" >>> print(rednia([20, 30, 70]))\n"
" 40.0\n"
" \"\"\"\n"
" return sum(values) / len(values)\n"
"\n"
"import doctest\n"
"doctest.testmod() # automatycznie waliduje wbudowane testy"
msgid ""
"The :mod:`unittest` module is not as effortless as the :mod:`doctest` "
"module, but it allows a more comprehensive set of tests to be maintained in "
"a separate file::"
msgstr ""
"Modu :mod:`unittest` nie jest tak atwy w uytku jak modu :mod:`doctest` , "
"ale pozwala na przechowywanie bardziej kompleksowego zestawu testw w "
"osobnym pliku::"
msgid ""
"import unittest\n"
"\n"
"class TestStatisticalFunctions(unittest.TestCase):\n"
"\n"
" def test_average(self):\n"
" self.assertEqual(average([20, 30, 70]), 40.0)\n"
" self.assertEqual(round(average([1, 5, 7]), 1), 4.3)\n"
" with self.assertRaises(ZeroDivisionError):\n"
" average([])\n"
" with self.assertRaises(TypeError):\n"
" average(20, 30, 70)\n"
"\n"
"unittest.main() # Calling from the command line invokes all tests"
msgstr ""
"import unittest\n"
"\n"
"class TestFunkcjiStatystycznych(unittest.TestCase):\n"
"\n"
"def test_srednia(self):\n"
" self.assertEqual(srednia([20, 30, 70]), 40.0)\n"
" self.assertEqual(round(srednia([1, 5, 7]), 1), 4.3)\n"
" with self.assertRaises(ZeroDivisionError):\n"
" srednia([])\n"
" with self.assertRaises(TypeError):\n"
" srednia(20, 30, 70)\n"
"\n"
"unittest.main() # Wywoanie z wiersza polece uruchamia wszystkie testy"
msgid "Batteries included"
msgstr "Dostarczone z bateriami"
msgid ""
"Python has a \"batteries included\" philosophy. This is best seen through "
"the sophisticated and robust capabilities of its larger packages. For "
"example:"
msgstr ""
"Python trzyma si filozofii \"dostarczone z bateriami\". Mona to najatwiej "
"ujrze w zaawansowanych moliwociach jego wikszych pakietw. Dla przykadu:"
msgid ""
"The :mod:`xmlrpc.client` and :mod:`xmlrpc.server` modules make implementing "
"remote procedure calls into an almost trivial task. Despite the modules' "
"names, no direct knowledge or handling of XML is needed."
msgstr ""
"Moduy :mod:`xmlrpc.client` i :mod:`xmlrpc.server` sprawiaj, e "
"implementacja zdalnych wywoa procedur staje si niemal trywialnym "
"zadaniem. Pomimo nazw modu', nie jest wymagana bezporednia znajomo lub "
"obsuga XML."
msgid ""
"The :mod:`email` package is a library for managing email messages, including "
"MIME and other :rfc:`5322`-based message documents. Unlike :mod:`smtplib` "
"and :mod:`poplib` which actually send and receive messages, the email "
"package has a complete toolset for building or decoding complex message "
"structures (including attachments) and for implementing internet encoding "
"and header protocols."
msgstr ""
"Pakiet :mod:`email` jest bibliotek do zarzdzania wiadomociami e-mail, w "
"tym MIME i innymi dokumentami wiadomoci opartymi na :rfc:`5322`. W "
"przeciwiestwie do :mod:`smtplib` i :mod:`poplib`, ktre faktycznie wysyaj "
"i odbieraj wiadomoci, pakiet e-mail posiada kompletny zestaw narzdzi do "
"tworzenia lub dekodowania zoonych struktur wiadomoci (w tym zacznikw) "
"oraz do implementacji internetowych protokow kodowania i nagwkw."
msgid ""
"The :mod:`json` package provides robust support for parsing this popular "
"data interchange format. The :mod:`csv` module supports direct reading and "
"writing of files in Comma-Separated Value format, commonly supported by "
"databases and spreadsheets. XML processing is supported by the :mod:`xml."
"etree.ElementTree`, :mod:`xml.dom` and :mod:`xml.sax` packages. Together, "
"these modules and packages greatly simplify data interchange between Python "
"applications and other tools."
msgstr ""
"Pakiet :mod:`json` zapewnia solidne wsparcie dla analizowania tego "
"popularnego formatu wymiany danych. Pakiet :mod:`csv` modu obsuguje "
"bezporedni odczyt i zapis plikw w formacie Comma-Separated Value (.csv), "
"powszechnie obsugiwanym przez bazy danych i arkusze kalkulacyjne. "
"Przetwarzanie XML jest obsugiwane przez pakiety :mod:`xml.etree."
"ElementTree`, :mod:`xml.dom` i :mod:`xml.sax`. Razem te moduy i pakiety "
"znacznie upraszczaj wymian danych midzy Python aplikacja i innymi "
"narzdziami."
msgid ""
"The :mod:`sqlite3` module is a wrapper for the SQLite database library, "
"providing a persistent database that can be updated and accessed using "
"slightly nonstandard SQL syntax."
msgstr ""
"Modu :mod:`sqlite3` jest opakowaniem dla biblioteki bazy danych SQLite, "
"zapewniajc trwa baz danych, ktra moe by aktualizowana i dostpna przy "
"uyciu nieco niestandardowej skadni SQL."
msgid ""
"Internationalization is supported by a number of modules including :mod:"
"`gettext`, :mod:`locale`, and the :mod:`codecs` package."
msgstr ""
"Internacjonalizacja jest wspierana przez kilka modu, w tym :mod:`gettext`, :"
"mod:`locale` i :mod:`codecs`."
msgid "built-in function"
msgstr "funkcja wbudowana"
msgid "help"
msgstr "pomoc"