@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-09-15 17:49 +0000\n "
14+ "POT-Creation-Date : 2026-09-17 17:48 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:02+0000\n "
1616"Last-Translator : Bhuvansh Kataria, 2026\n "
1717"Language-Team : Panjabi (Punjabi) (https://app.transifex.com/python-doc/ "
@@ -23,7 +23,7 @@ msgstr ""
2323"Plural-Forms : nplurals=2; plural=(n != 1);\n "
2424
2525msgid "Input and output"
26- msgstr ""
26+ msgstr "ਇਨਪੁੱਟ ਅਤੇ ਆਉਟਪੁੱਟ "
2727
2828msgid ""
2929"There are several ways to present the output of a program; data can be "
@@ -35,7 +35,7 @@ msgstr ""
3535"ਅਧਿਆਇ ਇਨ੍ਹਾਂ ਵਿੱਚੋਂ ਕੁਝ ਸੰਭਾਵਨਾਵਾਂ ਬਾਰੇ ਚਰਚਾ ਕਰੇਗਾ।"
3636
3737msgid "Fancier output formatting"
38- msgstr ""
38+ msgstr "ਵਧੇਰੇ ਸ਼ਾਨਦਾਰ ਆਉਟਪੁੱਟ ਫਾਰਮੈਟਿੰਗ "
3939
4040msgid ""
4141"So far we've encountered two ways of writing values: *expression statements* "
@@ -212,7 +212,7 @@ msgstr ""
212212"ਇਹ ਫਾਰਮੈਟਿੰਗ ਉੱਤੇ ਕਾਫ਼ੀ ਘੱਟ ਨਿਯੰਤਰਣ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ।"
213213
214214msgid "Formatted string literals"
215- msgstr ""
215+ msgstr "ਫਾਰਮੈਟ ਕੀਤੇ ਸਟਰਿੰਗ ਲਿਟਰਲ "
216216
217217msgid ""
218218":ref:`Formatted string literals <f-strings>` (also called f-strings for "
@@ -307,7 +307,7 @@ msgstr ""
307307"`formatspec` ਦੀ reference guide ਵੇਖੋ।"
308308
309309msgid "The string format() method"
310- msgstr ""
310+ msgstr "ਸਟ੍ਰਿੰਗ format() ਵਿਧੀ "
311311
312312msgid "Basic usage of the :meth:`str.format` method looks like this::"
313313msgstr ":meth:`str.format` ਵਿਧੀ ਦੀ ਬੁਨਿਆਦੀ ਵਰਤੋਂ ਇਸ ਤਰ੍ਹਾਂ ਦਿਖਾਈ ਦਿੰਦੀ ਹੈ::"
@@ -471,7 +471,7 @@ msgstr ""
471471"ਵੇਖੋ।"
472472
473473msgid "Manual string formatting"
474- msgstr ""
474+ msgstr "ਹੱਥੋਂ ਸਟ੍ਰਿੰਗ ਫਾਰਮੈਟਿੰਗ "
475475
476476msgid "Here's the same table of squares and cubes, formatted manually::"
477477msgstr "ਇੱਥੇ ਵਰਗਾਂ ਅਤੇ ਘਣਾਂ ਦੀ ਉਹੀ ਸਾਰਣੀ ਹੈ, ਜਿਸ ਨੂੰ ਹੱਥੋਂ ਫਾਰਮੈਟ ਕੀਤਾ ਗਿਆ ਹੈ::"
@@ -585,15 +585,17 @@ msgid ""
585585msgstr "ਹੋਰ ਜਾਣਕਾਰੀ ਲਈ :ref:`old-string-formatting` ਭਾਗ ਵੇਖੋ।"
586586
587587msgid "Reading and writing files"
588- msgstr ""
588+ msgstr "ਫਾਈਲਾਂ ਨੂੰ ਪੜ੍ਹਨਾ ਅਤੇ ਲਿਖਣਾ "
589589
590590msgid ""
591591":func:`open` returns a :term:`file object`, and is most commonly used with "
592592"two positional arguments: ``open(filename, mode)``"
593593msgstr ""
594+ ":func:`open` ਇੱਕ :term:`file object` ਵਾਪਸ ਕਰਦਾ ਹੈ ਅਤੇ ਇਸਦੀ ਸਭ ਤੋਂ ਆਮ ਵਰਤੋਂ ਦੋ "
595+ "ਸਥਿਤੀਗਤ ਆਰਗੂਮੈਂਟਾਂ ਨਾਲ ਕੀਤੀ ਜਾਂਦੀ ਹੈ: ``open(filename, mode)``"
594596
595597msgid ">>> f = open('workfile', 'w')"
596- msgstr ""
598+ msgstr ">>> f = open('workfile', 'w') "
597599
598600msgid ""
599601"The first argument is a string containing the filename. The second argument "
@@ -620,6 +622,12 @@ msgid ""
620622"mode`. Binary mode data is read and written as :class:`bytes` objects. You "
621623"can not specify *encoding* when opening file in binary mode."
622624msgstr ""
625+ "ਆਮ ਤੌਰ 'ਤੇ, ਫਾਈਲਾਂ ਨੂੰ :dfn:`text mode` ਵਿੱਚ ਖੋਲ੍ਹਿਆ ਜਾਂਦਾ ਹੈ, ਜਿਸਦਾ ਮਤਲਬ ਹੈ ਕਿ ਤੁਸੀਂ "
626+ "ਫਾਈਲ ਵਿੱਚ ਸਟ੍ਰਿੰਗਾਂ ਪੜ੍ਹਦੇ ਅਤੇ ਲਿਖਦੇ ਹੋ, ਜੋ ਇੱਕ ਨਿਰਧਾਰਤ *encoding* ਵਿੱਚ ਏਨਕੋਡ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ "
627+ "ਹਨ। ਜੇ *encoding* ਨਿਰਧਾਰਤ ਨਹੀਂ ਕੀਤੀ ਜਾਂਦੀ, ਤਾਂ ਡਿਫੌਲਟ UTF-8 ਹੁੰਦੀ ਹੈ (:func:`open` "
628+ "ਵੇਖੋ)। ਮੋਡ ਵਿੱਚ ``'b'`` ਜੋੜਨ ਨਾਲ ਫਾਈਲ :dfn:`binary mode` ਵਿੱਚ ਖੁੱਲ੍ਹਦੀ ਹੈ। ਬਾਈਨਰੀ ਮੋਡ "
629+ "ਦਾ ਡਾਟਾ :class:`bytes` ਆਬਜੈਕਟਾਂ ਵਜੋਂ ਪੜ੍ਹਿਆ ਅਤੇ ਲਿਖਿਆ ਜਾਂਦਾ ਹੈ। ਬਾਈਨਰੀ ਮੋਡ ਵਿੱਚ ਫਾਈਲ "
630+ "ਖੋਲ੍ਹਦੇ ਸਮੇਂ ਤੁਸੀਂ *encoding* ਨਿਰਧਾਰਤ ਨਹੀਂ ਕਰ ਸਕਦੇ।"
623631
624632msgid ""
625633"In text mode, the default when reading is to convert platform-specific line "
@@ -658,6 +666,12 @@ msgid ""
658666">>> f.closed\n"
659667"True"
660668msgstr ""
669+ ">>> with open('workfile') as f:\n"
670+ "... read_data = f.read()\n"
671+ "\n"
672+ ">>> # We can check that the file has been automatically closed.\n"
673+ ">>> f.closed\n"
674+ "True"
661675
662676msgid ""
663677"If you're not using the :keyword:`with` keyword, then you should call ``f."
@@ -699,7 +713,7 @@ msgstr ""
699713"ValueError: I/O operation on closed file."
700714
701715msgid "Methods of file objects"
702- msgstr ""
716+ msgstr "ਫਾਈਲ ਆਬਜੈਕਟਾਂ ਦੀਆਂ ਵਿਧੀਆਂ "
703717
704718msgid ""
705719"The rest of the examples in this section will assume that a file object "
@@ -986,6 +1000,8 @@ msgid ""
9861000"JSON files must be encoded in UTF-8, the default encoding for :term:`text "
9871001"files <text file>`."
9881002msgstr ""
1003+ "JSON ਫਾਈਲਾਂ ਨੂੰ UTF-8 ਵਿੱਚ ਏਨਕੋਡ ਕੀਤਾ ਜਾਣਾ ਲਾਜ਼ਮੀ ਹੈ, ਜੋ :term:`text files <text "
1004+ "file>` ਲਈ ਡਿਫੌਲਟ ਏਨਕੋਡਿੰਗ ਹੈ।"
9891005
9901006msgid ""
9911007"This simple serialization technique can handle lists and dictionaries, but "
0 commit comments