# 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:
# Alireza Shabani (Revisto) , 2025
# khosro azimi, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-25 12:59+0330\n"
"PO-Revision-Date: 2021-06-28 01:49+0000\n"
"Last-Translator: khosro azimi, 2025\n"
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
"fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../../tutorial/appendix.rst:5
msgid "Appendix"
msgstr "Ù¾ÛÙØ³Øª"
#: ../../tutorial/appendix.rst:11
msgid "Interactive Mode"
msgstr "ØØ§Ùت تعاÙ
ÙÛ"
#: ../../tutorial/appendix.rst:13
msgid ""
"There are two variants of the interactive :term:`REPL`. The classic basic "
"interpreter is supported on all platforms with minimal line control "
"capabilities."
msgstr ""
"د٠ÙÙØ¹ از ØØ§Ùت تعاÙ
ÙÛ :term:`REPL` ÙØ¬Ùد دارد. Ù
ÙØ³Ø± پاÛÙÙ Ú©ÙØ§Ø³ÛÚ© در تÙ
اÙ
Û "
"Ù¾ÙØªÙرÙ
âÙØ§ با ØØ¯Ø§Ù٠اÙ
Ú©Ø§ÙØ§Øª Ø¨Ø±Ø§Û ÙÛØ±Ø§ÛØ´ خط ÙØ±Ù
Ø§Ù Ù¾Ø´ØªÛØ¨Ø§ÙÛ Ù
ÛâØ´ÙØ¯."
#: ../../tutorial/appendix.rst:17
#, fuzzy
msgid ""
"Since Python 3.13, a new interactive shell is used by default. This one "
"supports color, multiline editing, history browsing, and paste mode. To "
"disable color, see :ref:`using-on-controlling-color` for details. Function "
"keys provide some additional functionality. :kbd:`F1` enters the interactive "
"help browser :mod:`pydoc`. :kbd:`F2` allows for browsing command-line "
"history with neither output nor the :term:`>>>` and :term:`...` "
"prompts. :kbd:`F3` enters \"paste mode\", which makes pasting larger blocks "
"of code easier. Press :kbd:`F3` to return to the regular prompt."
msgstr ""
"در ÙÛÙØ¯Ùز ÛØ§ Ø³ÛØ³ØªÙ
ÙØ§Û ÛÙÙÛکس Ù
اÙÙØ¯ با Ù¾Ø´ØªÛØ¨Ø§ÙÛ Ø§Ø² :mod:`curses`Ø Ø¨Ù ØµÙØ±Øª "
"Ù¾ÛØ´ ÙØ±Ø¶ از ÛÚ© ش٠تعاÙ
ÙÛ Ø¬Ø¯ÛØ¯ Ø§Ø³ØªÙØ§Ø¯Ù Ù
Û Ø´ÙØ¯. اÛ٠ش٠از رÙÚ¯Ø ÙÛØ±Ø§ÛØ´ ÚÙØ¯Ø®Ø·ÛØ "
"Ù
Ø±ÙØ± ØªØ§Ø±ÛØ®ÚÙØ Ù ØØ§Ùت ÚØ³Ø¨Ø§Ùد٠«paste mode» Ù¾Ø´ØªÛØ¨Ø§ÙÛ Ù
Û Ú©ÙØ¯. Ø¨Ø±Ø§Û ØºÛØ±Ùعا٠کرد٠"
"رÙÚ¯Ø Ø¬Ø²Ø¦ÛØ§Øª را در :ref:`using-on-controlling-color` ببÛÙÛØ¯. Ú©ÙÛØ¯ÙØ§Û ØªØ§Ø¨Ø¹Û "
"Ø¨Ø±Ø®Û Ø§Ø² ÙØ§Ø¨ÙÛØª ÙØ§Û اضاÙÛ Ø±Ø§ ÙØ±Ø§ÙÙ
Ù
Û Ú©ÙÙØ¯. :kbd:`F1` Ù
Ø±ÙØ±Ú¯Ø± تعاÙ
ÙÛ "
"راÙÙÙ
ا :mod:`pydoc` را ÙØ¹Ø§Ù Ù
Û Ú©ÙØ¯. :kbd:`F2` اجاز٠Ù
Û Ø¯ÙØ¯ ØªØ§Ø±ÛØ®Ú٠خط ÙØ±Ù
ا٠"
"را بدÙÙ Ø®Ø±ÙØ¬Û ٠بدÙÙ Ø§Ø¹ÙØ§Ù ÙØ§Û :term:`>>>` Ù :term:`...` Ù
Ø±ÙØ± "
"Ú©ÙÛØ¯. :kbd:`F3` ØØ§Ùت \"ÚØ³Ø¨Ø§ÙدÙ\" را ÙØ¹Ø§Ù Ù
Û Ú©ÙØ¯ Ú©Ù ÚØ³Ø¨Ø§Ùد٠بÙÙÚ© ÙØ§Û بزرگ تر "
"کد را آسا٠تر Ù
Û Ø³Ø§Ø²Ø¯. Ø¨Ø±Ø§Û Ø¨Ø§Ø²Ú¯Ø´Øª Ø¨Ù Ø§Ø¹ÙØ§Ù Ù
عÙ
ÙÙÛØ :kbd:`F3` را ÙØ´Ø§Ø± دÙÛØ¯."
#: ../../tutorial/appendix.rst:27
msgid ""
"When using the new interactive shell, exit the shell by typing :kbd:`exit` "
"or :kbd:`quit`. Adding call parentheses after those commands is not required."
msgstr ""
"ÙÙØªÛ از Ù¾ÙØ³ØªÙ تعاÙ
ÙÛ Ø¬Ø¯ÛØ¯ Ø§Ø³ØªÙØ§Ø¯Ù Ù
ÛâÚ©ÙÛØ¯Ø با تاÛÙ¾ :kbd:`exit` ÛØ§ :kbd:`quit` "
"از Ù¾ÙØ³ØªÙ خارج Ø´ÙÛØ¯. اضاÙÙâÚ©Ø±Ø¯Ù Ù¾Ø±Ø§ÙØªØ² پس از اÛÙ Ø¯Ø³ØªÙØ±Ø§Øª Ø¶Ø±ÙØ±Û ÙÛØ³Øª."
#: ../../tutorial/appendix.rst:31
msgid ""
"If the new interactive shell is not desired, it can be disabled via "
"the :envvar:`PYTHON_BASIC_REPL` environment variable."
msgstr ""
"اگر Ù¾ÙØ³ØªÙ تعاÙ
ÙÛ Ø¬Ø¯ÛØ¯ Ù
Ø·ÙÙØ¨ ÙØ¨Ø§Ø´Ø¯Ø Ù
Û ØªÙØ§Ù آ٠را از طرÛÙ Ù
ØªØºÛØ± "
"Ù
ØÛØ·Û :envvar:`PYTHON_BASIC_REPL` ØºÛØ±Ùعا٠کرد."
#: ../../tutorial/appendix.rst:37
msgid "Error Handling"
msgstr "Ù
Ø¯ÛØ±Ûت Ø®Ø·Ø§ÙØ§"
#: ../../tutorial/appendix.rst:39
msgid ""
"When an error occurs, the interpreter prints an error message and a stack "
"trace. In interactive mode, it then returns to the primary prompt; when "
"input came from a file, it exits with a nonzero exit status after printing "
"the stack trace. (Exceptions handled by an :keyword:`except` clause in "
"a :keyword:`try` statement are not errors in this context.) Some errors are "
"unconditionally fatal and cause an exit with a nonzero exit status; this "
"applies to internal inconsistencies and some cases of running out of "
"memory. All error messages are written to the standard error stream; normal "
"output from executed commands is written to standard output."
msgstr ""
"Ù
ÙÙØ¹ Ø¨Ø±ÙØ² Ø®Ø·Ø§Ø Ù
ÙØ³Ø± ÛÚ© Ù¾ÛØ§Ù
خطا ٠«گزارش پشتÙ» «stack trace» ÚØ§Ù¾ Ù
ÛâÚ©ÙØ¯. در "
"ØØ§Ùت تعاÙ
ÙÛØ بعد از ÙÙ
Ø§ÛØ´ Ø®Ø·Ø§Ø Ø¨Ø±ÙØ§Ù
Ù Ø¨Ù ØØ§Ùت Ø¢Ù
ادÙâØ¨Ø§Ø´ Ø¨Ø±Ø§Û Ø¯Ø±ÛØ§Ùت Ø¯Ø³ØªÙØ±Ø§Øª "
"Ø¬Ø¯ÛØ¯ بازÙ
ÛâÚ¯Ø±Ø¯Ø¯Ø Ø§Ù
ا اگر ÙØ±ÙØ¯Û Ø§Ø² ÛÚ© ÙØ§Û٠آÙ
Ø¯Ù Ø¨Ø§Ø´Ø¯Ø Ù¾Ø³ از ÚØ§Ù¾ گزارش پشت٠با "
"ÛÚ© کد Ø®Ø±ÙØ¬Û ØºÛØ± ØµÙØ± از Ø¨Ø±ÙØ§Ù
٠خارج Ù
ÛâØ´ÙØ¯. (Ø§Ø³ØªØ«ÙØ§ÙاÛÛ Ú©Ù Ø¨Ø§ "
"بخش :keyword:`except` در ÛÚ© Ø¯Ø³ØªÙØ± :keyword:`try` Ù
Ø¯ÛØ±Ûت Ù
ÛâØ´ÙÙØ¯Ø در اÛ٠زÙ
ÛÙÙ "
"خطا Ù
ØØ³Ùب ÙÙ
ÛâØ´ÙÙØ¯.) Ø¨Ø¹Ø¶Û Ø®Ø·Ø§ÙØ§ بÙâØ·ÙØ± ÙØ·Ø¹Û باعث Ø®Ø±ÙØ¬ از Ø¨Ø±ÙØ§Ù
Ù Ù
ÛâØ´ÙÙØ¯ ٠کد "
"Ø®Ø±ÙØ¬Û ØºÛØ± ØµÙØ± Ø¯Ø§Ø±ÙØ¯Ø اÛ٠در Ù
ÙØ±Ø¯ ÙØ§Ø³Ø§Ø²Ú¯Ø§Ø±ÛâÙØ§Û داخÙÛ ÛØ§ در Ø¨Ø±Ø®Û Ù
ÙØ§Ø±Ø¯ Ú©Ù
Ø¨ÙØ¯ "
"ØØ§Ùظ٠صد٠Ù
ÛâÚ©ÙØ¯. تÙ
اÙ
Ù¾ÛØ§Ù
âÙØ§Û خطا در Ø¬Ø±ÛØ§Ù Ø®Ø±ÙØ¬Û خطا «standard error» ÙÙØ´ØªÙ "
"Ù
ÛâØ´ÙÙØ¯Ø Ø®Ø±ÙØ¬Û Ù
عÙ
ÙÙ Ø¯Ø³ØªÙØ±Ø§Øª اجراشد٠ÙÛØ² در Ø¬Ø±ÛØ§Ù Ø®Ø±ÙØ¬Û Ø§Ø³ØªØ§ÙØ¯Ø§Ø±Ø¯ «standard "
"output» ÙÙØ´ØªÙ Ù
ÛâØ´ÙØ¯."
#: ../../tutorial/appendix.rst:49
msgid ""
"Typing the interrupt character (usually :kbd:`Control-C` or :kbd:`Delete`) "
"to the primary or secondary prompt cancels the input and returns to the "
"primary prompt. [#]_ Typing an interrupt while a command is executing raises "
"the :exc:`KeyboardInterrupt` exception, which may be handled by "
"a :keyword:`try` statement."
msgstr ""
"ÙØ´Ø±Ø¯Ù Ú©ÙÛØ¯ ÙÙÙÙ (Ú©Ù Ù
عÙ
ÙÙØ§Ù :kbd:`Control-C` ÛØ§ :kbd:`Delete` است) در Ø§Ø¹ÙØ§Ù "
"اصÙÛ ÛØ§ ÙØ±Ø¹ÛØ ÙØ±ÙØ¯Û Ø±Ø§ ÙØºÙ کرد٠٠کاربر را Ø¨Ù Ø§Ø¹ÙØ§Ù اصÙÛ Ø¨Ø§Ø²Ù
ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. [#]_ \n"
"ÙØ´Ø±Ø¯Ù Ú©ÙÛØ¯ ÙÙÙ٠در ØÛÙ Ø§Ø¬Ø±Ø§Û ÛÚ© Ø¯Ø³ØªÙØ±Ø Ø§Ø³ØªØ«ÙØ§Û :exc:`KeyboardInterrupt` را "
"Ø§ÛØ¬Ø§Ø¯ Ù
ÛâÚ©ÙØ¯ Ú©Ù Ù
ÛâØªÙØ§Ù آ٠را با Ø¯Ø³ØªÙØ± :keyword:`try` Ù
Ø¯ÛØ±Ûت کرد."
#: ../../tutorial/appendix.rst:59
msgid "Executable Python Scripts"
msgstr "اسکرÛپت ÙØ§Û اجراÛÛ Ù¾Ø§ÛØªÙÙ"
#: ../../tutorial/appendix.rst:61
msgid ""
"On BSD'ish Unix systems, Python scripts can be made directly executable, "
"like shell scripts, by putting the line ::"
msgstr ""
"در Ø³ÛØ³ØªÙ
عاÙ
Ù ÙØ§Û ÛÙÙÛکس Ù
بتÙÛ Ø¨Ø± BSDØ Ø§Ø³Ú©Ø±Ûپت ÙØ§Û Ù¾Ø§ÛØªÙÙ Ù
Û ØªÙØ§ÙÙØ¯ Ù
اÙÙØ¯ "
"اسکرÛپت ÙØ§Û Ø´Ù Ø¨Ù ØµÙØ±Øª Ù
ستÙÛÙ
اجراÛÛ Ø´ÙÙØ¯Ø با ÙØ±Ø§Ø± داد٠خط ::"
#: ../../tutorial/appendix.rst:64
msgid "#!/usr/bin/env python3"
msgstr "#!/usr/bin/env python3"
#: ../../tutorial/appendix.rst:66
msgid ""
"(assuming that the interpreter is on the user's :envvar:`PATH`) at the "
"beginning of the script and giving the file an executable mode. The ``#!`` "
"must be the first two characters of the file. On some platforms, this first "
"line must end with a Unix-style line ending (``'\\n'``), not a Windows "
"(``'\\r\\n'``) line ending. Note that the hash, or pound, character, "
"``'#'``, is used to start a comment in Python."
msgstr ""
"(با ÙØ±Ø¶ اÛÙÚ©Ù Ù
ÙØ³Ø± در :envvar:`PATH` کاربر ÙØ±Ø§Ø± دارد) در Ø§Ø¨ØªØ¯Ø§Û Ø§Ø³Ú©Ø±Ûپت Ø¨Ø§ÛØ¯ "
"ÙØ±Ø§Ø± Ú¯ÛØ±Ø¯ Ù ÙØ§ÛÙ Ø¨Ø§ÛØ¯ Ø¨Ù ØØ§Ùت ÙØ§Ø¨Ù اجرا ØªÙØ¸ÛÙ
Ø´ÙØ¯. ``#!`` Ø¨Ø§ÛØ¯ ÙØ®Ø³ØªÛ٠د٠"
"ÙÙÛØ³ÙâÛ ÙØ§ÛÙ Ø¨Ø§Ø´ÙØ¯. در Ø¨Ø±Ø®Û Ù¾ÙØªÙرÙ
âÙØ§Ø اÛ٠خط اÙÙ Ø¨Ø§ÛØ¯ با Ù¾Ø§ÛØ§Ù خط ب٠سبک "
"ÛÙÙÛکس (``'\\n'``) تÙ
اÙ
Ø´ÙØ¯Ø ÙÙ Ù¾Ø§ÛØ§Ù خط ÙÛÙØ¯ÙØ²Û (``'\\r\\n'``). ØªÙØ¬Ù داشت٠"
"Ø¨Ø§Ø´ÛØ¯ Ú©Ù ÙÙÛØ³ÙâÛ ``'#'`` Ø¨Ø±Ø§Û Ø¢ØºØ§Ø² ÛÚ© ØªÙØ¶ÛØ (کاÙ
ÙØª) در Ù¾Ø§ÛØªÙ٠ب٠کار Ù
ÛâØ±ÙØ¯."
#: ../../tutorial/appendix.rst:73
msgid ""
"The script can be given an executable mode, or permission, using "
"the :program:`chmod` command."
msgstr ""
"با Ø§Ø³ØªÙØ§Ø¯Ù از Ø¯Ø³ØªÙØ± :program:`chmod` Ù
ÛâØªÙØ§Ù ب٠اسکرÛپت ØØ§Ùت اجراÛÛ ÛØ§ Ù
Ø¬ÙØ² "
"اجرا داد."
#: ../../tutorial/appendix.rst:76
msgid "$ chmod +x myscript.py"
msgstr "$ chmod +x myscript.py"
#: ../../tutorial/appendix.rst:80
msgid ""
"On Windows systems, there is no notion of an \"executable mode\". The "
"Python installer automatically associates ``.py`` files with ``python.exe`` "
"so that a double-click on a Python file will run it as a script. The "
"extension can also be ``.pyw``, in that case, the console window that "
"normally appears is suppressed."
msgstr ""
"در Ø³ÛØ³ØªÙ
âØ¹Ø§Ù
Ù ÙÛÙØ¯ÙØ²Ø Ù
ÙÙÙÙ
Â«ØØ§Ùت اجراÛÛ» \"executable mode\" ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯. "
"ÙØµØ¨âÚ©ÙÙØ¯Ù Ù¾Ø§ÛØªÙ٠بÙâØ·ÙØ± Ø®ÙØ¯Ú©Ø§Ø± ÙØ§ÛÙâÙØ§Û ``.py`` را ب٠``python.exe`` Ù
رتبط "
"Ù
ÛâÚ©ÙØ¯ تا با Ø¯ÙØ¨Ø§Ø± Ú©ÙÛÚ© رÙÛ ÙØ§ÛÙ Ù¾Ø§ÛØªÙÙØ بÙâØ¹ÙÙØ§Ù اسکرÛپت اجرا Ø´ÙØ¯. پسÙÙØ¯ ÙØ§ÛÙ "
"ÙÙ
ÚÙÛÙ Ù
ÛâØªÙØ§Ùد ``.pyw`` باشد ک٠در اÛÙ ØµÙØ±Øª Ù¾ÙØ¬Ø±Ù Ú©ÙØ³ÙÙÛ Ú©Ù Ù
عÙ
ÙÙØ§Ù Ø¸Ø§ÙØ± "
"Ù
ÛâØ´ÙØ¯Ø ÙÙ
Ø§ÛØ´ داد٠ÙÙ
ÛâØ´ÙØ¯."
#: ../../tutorial/appendix.rst:90
msgid "The Interactive Startup File"
msgstr "پرÙÙØ¯Ù٠آغازÛ٠تعاÙ
ÙÛ Â«The Interactive Startup File»"
#: ../../tutorial/appendix.rst:92
msgid ""
"When you use Python interactively, it is frequently handy to have some "
"standard commands executed every time the interpreter is started. You can "
"do this by setting an environment variable named :envvar:`PYTHONSTARTUP` to "
"the name of a file containing your start-up commands. This is similar to "
"the :file:`.profile` feature of the Unix shells."
msgstr ""
"ÙÙگاÙ
Û Ú©Ù Ø¨Ù ØµÙØ±Øª تعاÙ
ÙÛ Ø§Ø² Ù¾Ø§ÛØªÙÙ Ø§Ø³ØªÙØ§Ø¯Ù Ù
Û Ú©ÙÛØ¯Ø Ø§Ø¬Ø±Ø§Û Ø¨Ø±Ø®Û Ø¯Ø³ØªÙØ±Ø§Øª "
"Ø§Ø³ØªØ§ÙØ¯Ø§Ø±Ø¯ در ÙØ± بار Ø´Ø±ÙØ¹ Ù
ÙØ³Ø± Ù
Û ØªÙØ§Ùد Ù
ÙÛØ¯ باشد. Ø´Ù
ا Ù
Û ØªÙØ§ÙÛØ¯ اÛ٠کار را "
"با ØªÙØ¸ÛÙ
Ù
ØªØºÛØ± Ù
ØÛØ·Û Ø¨Ø§ ÙØ§Ù
:envvar:`PYTHONSTARTUP` Ø¨Ù ÙØ§Ù
ÙØ§ÛÙÛ Ú©Ù ØØ§ÙÛ "
"Ø¯Ø³ØªÙØ±Ø§Øª Ø´Ø±ÙØ¹ Ø´Ù
ا است Ø§ÙØ¬Ø§Ù
دÙÛØ¯. اÛÙ ÙØ§Ø¨ÙÛØª شبÛ٠ب٠ÙÛÚÚ¯Û :file:`.profile` "
"در Ø´Ù ÙØ§Û ÛÙÙÛکس است."
#: ../../tutorial/appendix.rst:98
msgid ""
"This file is only read in interactive sessions, not when Python reads "
"commands from a script, and not when :file:`/dev/tty` is given as the "
"explicit source of commands (which otherwise behaves like an interactive "
"session). It is executed in the same namespace where interactive commands "
"are executed, so that objects that it defines or imports can be used without "
"qualification in the interactive session. You can also change the prompts "
"``sys.ps1`` and ``sys.ps2`` in this file."
msgstr ""
"اÛÙ ÙØ§ÛÙ ÙÙØ· در Ø¬ÙØ³Ø§Øª تعاÙ
ÙÛ Ø®ÙØ§Ùد٠Ù
Û Ø´ÙØ¯Ø Ù٠زÙ
اÙÛ Ú©Ù Ù¾Ø§ÛØªÙÙ Ø¯Ø³ØªÙØ±Ø§Øª را از "
"ÛÚ© اسکرÛپت Ù
Û Ø®ÙØ§ÙØ¯Ø Ù Ù٠زÙ
اÙÛ Ú©Ù :file:`/dev/tty` ب٠عÙÙØ§Ù Ù
ÙØ¨Ø¹ ØµØ±ÛØ "
"Ø¯Ø³ØªÙØ±Ø§Øª داد٠Ù
Û Ø´ÙØ¯ (ک٠در ØºÛØ± اÛÙ ØµÙØ±Øª ÙÙ
ÚÙÙ ÛÚ© Ø¬ÙØ³Ù تعاÙ
ÙÛ Ø±ÙØªØ§Ø± Ù
Û Ú©ÙØ¯). "
"اÛÙ ÙØ§Û٠در ÙÙ
Ø§Ù ÙØ¶Ø§Û ÙØ§Ù
Û Ú©Ù Ø¯Ø± Ø¢Ù Ø¯Ø³ØªÙØ±Ø§Øª تعاÙ
ÙÛ Ø§Ø¬Ø±Ø§ Ù
Û Ø´ÙÙØ¯Ø اجرا Ù
Û "
"گردد Ø¨ÙØ§Ø¨Ø±Ø§ÛÙ Ø§Ø´ÛØ§ÛÛ Ú©Ù ØªØ¹Ø±ÛÙ ÛØ§ ÙØ§Ø±Ø¯ Ù
Û Ú©ÙØ¯ Ù
Û ØªÙØ§ÙÙØ¯ بدÙÙ Ù
شخص شد٠در Ø¬ÙØ³Ù "
"تعاÙ
ÙÛ Ù
ÙØ±Ø¯ Ø§Ø³ØªÙØ§Ø¯Ù ÙØ±Ø§Ø± Ú¯ÛØ±Ùد. Ø´Ù
ا Ù
Û ØªÙØ§ÙÛØ¯ Ø¯Ø±Ø®ÙØ§Ø³Øª ÙØ§ ``sys.ps1`` Ù "
"``sys.ps2`` را ÙÛØ² در اÛÙ ÙØ§Û٠تغÛÛØ± دÙÛØ¯."
#: ../../tutorial/appendix.rst:106
msgid ""
"If you want to read an additional start-up file from the current directory, "
"you can program this in the global start-up file using code like ``if "
"os.path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read())``. If you "
"want to use the startup file in a script, you must do this explicitly in the "
"script::"
msgstr ""
"اگر Ù
Û Ø®ÙØ§ÙÛØ¯ ÛÚ© ÙØ§ÛÙ Ø±Ø§Ù Ø§ÙØ¯Ø§Ø²Û اضاÙÛ Ø§Ø² Ø¯Ø§ÛØ±Ú©ØªÙØ±Û ÙØ¹ÙÛ Ø¨Ø®ÙØ§ÙÛØ¯Ø Ù
Û ØªÙØ§ÙÛØ¯ "
"اÛ٠کار را در ÙØ§ÛÙ Ø±Ø§Ù Ø§ÙØ¯Ø§Ø²Û عÙ
ÙÙ
Û Ø¨Ø§ Ú©Ø¯Û Ù
شاب٠``if "
"os.path.isfile('.pythonrc.py'): exec(open('.pythonrc.py').read())`` Ø¨Ø±ÙØ§Ù
Ù "
"Ø±ÛØ²Û Ú©ÙÛØ¯. اگر Ù
Û Ø®ÙØ§ÙÛØ¯ از ÙØ§ÛÙ Ø±Ø§Ù Ø§ÙØ¯Ø§Ø²Û در ÛÚ© اسکرÛپت Ø§Ø³ØªÙØ§Ø¯Ù Ú©ÙÛØ¯Ø Ø¨Ø§ÛØ¯ "
"اÛ٠کار را Ø¨Ù Ø·ÙØ± ØµØ±ÛØ در اسکرÛپت Ø§ÙØ¬Ø§Ù
دÙÛØ¯:"
#: ../../tutorial/appendix.rst:112
msgid ""
"import os\n"
"filename = os.environ.get('PYTHONSTARTUP')\n"
"if filename and os.path.isfile(filename):\n"
" with open(filename) as fobj:\n"
" startup_file = fobj.read()\n"
" exec(startup_file)"
msgstr ""
"import os\n"
"filename = os.environ.get('PYTHONSTARTUP')\n"
"if filename and os.path.isfile(filename):\n"
" with open(filename) as fobj:\n"
" startup_file = fobj.read()\n"
" exec(startup_file)"
#: ../../tutorial/appendix.rst:123
msgid "The Customization Modules"
msgstr "Ù
اÚÙÙ ÙØ§Û Ø³ÙØ§Ø±Ø´Û سازÛ"
#: ../../tutorial/appendix.rst:125
msgid ""
"Python provides two hooks to let you customize it: :index:`sitecustomize` "
"and :index:`usercustomize`. To see how it works, you need first to find the "
"location of your user site-packages directory. Start Python and run this "
"code::"
msgstr ""
"Ù¾Ø§ÛØªÙ٠د٠ÙÙØ·ÙÙ Ø§ØªØµØ§Ù Ø¨Ø±Ø§Û Ø³ÙØ§Ø±Ø´Û Ø³Ø§Ø²Û Ø§Ø±Ø§Ø¦Ù Ù
Û Ø¯ÙØ¯: :index:`sitecustomize` "
"Ù :index:`usercustomize`. Ø¨Ø±Ø§Û Ø¯ÛØ¯Ù ÚÚ¯ÙÙÚ¯Û Ú©Ø§Ø±Ú©Ø±Ø¯ Ø¢ÙØ ابتدا Ø¨Ø§ÛØ¯ Ù
کا٠"
"Ø¯Ø§ÛØ±Ú©ØªÙØ±Û user site-packages Ø®ÙØ¯ را Ù¾ÛØ¯Ø§ Ú©ÙÛØ¯. Ù¾Ø§ÛØªÙ٠را اجرا Ú©ÙÛØ¯ ٠اÛ٠کد "
"را اجرا Ú©ÙÛØ¯:"
#: ../../tutorial/appendix.rst:129
msgid ""
">>> import site\n"
">>> site.getusersitepackages()\n"
"'/home/user/.local/lib/python3.x/site-packages'"
msgstr ""
">>> import site\n"
">>> site.getusersitepackages()\n"
"'/home/user/.local/lib/python3.x/site-packages'"
#: ../../tutorial/appendix.rst:133
msgid ""
"Now you can create a file named :file:`usercustomize.py` in that directory "
"and put anything you want in it. It will affect every invocation of Python, "
"unless it is started with the :option:`-s` option to disable the automatic "
"import."
msgstr ""
"ØØ§Ùا Ù
ÛâØªÙØ§ÙÛØ¯ ÙØ§ÛÙÛ Ø¨Ù ÙØ§Ù
:file:`usercustomize.py` در Ø¢Ù Ø¯Ø§ÛØ±Ú©ØªÙØ±Û Ø§ÛØ¬Ø§Ø¯ "
"Ú©Ø±Ø¯Ù Ù ÙØ± ÚÛØ²Û Ú©Ù Ù
ÛâØ®ÙØ§ÙÛØ¯ در Ø¢Ù ÙØ±Ø§Ø± دÙÛØ¯. اÛÙ ÙØ§Û٠رÙÛ ÙØ± بار Ø§Ø¬Ø±Ø§Û Ù¾Ø§ÛØªÙÙ "
"ØªØ£Ø«ÛØ± Ø®ÙØ§Ùد Ú¯Ø°Ø§Ø´ØªØ Ù
گر اÛÙÚ©Ù Ù¾Ø§ÛØªÙ٠با گزÛÙÙ :option:`-s` اجرا Ø´ÙØ¯ تا ÙØ§Ø±Ø¯ "
"Ú©Ø±Ø¯Ù Ø®ÙØ¯Ú©Ø§Ø± ØºÛØ±Ùعا٠گردد."
#: ../../tutorial/appendix.rst:137
msgid ""
":index:`sitecustomize` works in the same way, but is typically created by an "
"administrator of the computer in the global site-packages directory, and is "
"imported before :index:`usercustomize`. See the documentation of "
"the :mod:`site` module for more details."
msgstr ""
":index:`sitecustomize` ب٠ÙÙ
Ø§Ù ØµÙØ±Øª کار Ù
Û Ú©ÙØ¯Ø اÙ
ا Ø¨Ù Ø·ÙØ± Ù
عÙ
ÙÙ ØªÙØ³Ø· Ù
Ø¯ÛØ± "
"Ø³ÛØ³ØªÙ
در Ø¯Ø§ÛØ±Ú©ØªÙØ±Û global site-packages Ø§ÛØ¬Ø§Ø¯ Ù
Û Ø´ÙØ¯ Ù ÙØ¨Ù "
"از :index:`usercustomize` ÙØ§Ø±Ø¯ Ù
Û Ø´ÙØ¯. Ø¨Ø±Ø§Û Ø¬Ø²Ø¦ÛØ§Øª Ø¨ÛØ´ØªØ± ب٠Ù
Ø³ØªÙØ¯Ø§Øª "
"Ù
اÚÙÙ :mod:`site` Ù
راجع٠کÙÛØ¯."
#: ../../tutorial/appendix.rst:144
msgid "Footnotes"
msgstr "Ù¾Ø§ÙØ±ÙÛ ÙØ§"
#: ../../tutorial/appendix.rst:145
msgid "A problem with the GNU Readline package may prevent this."
msgstr "ÛÚ© Ù
شک٠در بستÙ٠«GNU Readline» Ù
Ù
ک٠است Ù
Ø§ÙØ¹ اÛ٠کار Ø´ÙØ¯."