Std PythonHelp/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/ru |Name=Std PythonHelp |Name/ru=Std PythonHelp |MenuLocation={{StdMenu|Help}} → Automatic Python modules documentation |Workbenches=All |S...")
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/ru
|[[Std_FreeCADPowerUserHub/ru|Команда "Документация по созданию скриптов на Python"]]
|[[Std_FreeCADForum/ru|Команда "Форум FreeCAD"]]
|[[Std_Help_Menu/ru|Меню "Справка"]]
|IconL=Std_FreeCADPowerUserHub.svg
|IconR=Std_FreeCADForum.svg
|IconC=Freecad.svg
}}


{{GuiCommand/ru
{{GuiCommand/ru
|Name=Std PythonHelp
|Name=Std PythonHelp
|Name/ru=Std PythonHelp
|Name/ru=Std PythonHelp
|MenuLocation={{StdMenu|[[Std Help Menu/ru|Help]]}} → Automatic Python modules documentation
|MenuLocation=Help → Automatic python modules documentation
|Workbenches=All
|Workbenches=All
|SeeAlso=[[Std_OnlineHelp/ru|Online help]], [[Std_FreeCADPowerUserHub/ru|Power user hub]], [[Std_Help_Menu/ru|Help menu]]
|SeeAlso=[[Std_FreeCADPowerUserHub/ru|Std FreeCADPowerUserHub]]
}}
}}


==Описание==
==Описание==


[[Std_PythonHelp|Std PythonHelp]] starts a web server that communicates with your default browser over a local socket. The page that opens displays the available [[Python|Python]] modules, classes and functions of FreeCAD; the different pages are generated in the background automatically.
The '''Std PythonHelp''' command starts a web server that communicates with the system's default Internet browser over a local socket. The web server displays information about the available [[Python|Python]] modules, classes and functions of FreeCAD. The required pages are generated automatically.


This web server is based on Python's [https://docs.python.org/3.8/library/pydoc.html#module-pydoc pydoc] module, and thus it extracts the docstrings of Python files ({{incode|.py}}), and textual documentation defined in the Python wrappers ({{incode|.xml}}) which expose the underlying C++ code.
The web server is based on Python's [https://docs.python.org/3.8/library/pydoc.html#module-pydoc pydoc] module, and thus extracts the docstrings of Python files ({{incode|.py}}), and textual documentation defined in the Python wrappers ({{incode|.xml}}) which expose the underlying C++ code.


==Применение==
==Usage==


# Open the menu {{MenuCommand|{{StdMenu|[[Std_Help_Menu|Help]]}} → [[File:Std_PythonHelp.svg|16px]] [[Std_PythonHelp|Automatic Python modules documentation]]}}
# Select the {{MenuCommand|Help → [[Image:Std_PythonHelp.svg|16px]] Automatic python modules documentation}} option from the menu.
# Click on any of the links to go to the specific class or function documentation.
# Click on any of the links to go to the documentation of a specific class or function.

{{Docnav/ru
|[[Std_FreeCADPowerUserHub/ru|Команда "Документация по созданию скриптов на Python"]]
|[[Std_FreeCADForum/ru|Команда "Форум FreeCAD"]]
|[[Std_Help_Menu/ru|Меню "Справка"]]
|IconL=Std_FreeCADPowerUserHub.svg
|IconR=Std_FreeCADForum.svg
|IconC=Freecad.svg
}}


{{Std Base navi{{#translation:}}}}
{{Std Base navi{{#translation:}}}}

Latest revision as of 19:43, 6 August 2021

Std PythonHelp

Системное название
Std PythonHelp
Расположение в меню
Help → Automatic python modules documentation
Верстаки
All
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Std FreeCADPowerUserHub

Описание

The Std PythonHelp command starts a web server that communicates with the system's default Internet browser over a local socket. The web server displays information about the available Python modules, classes and functions of FreeCAD. The required pages are generated automatically.

The web server is based on Python's pydoc module, and thus extracts the docstrings of Python files (.py), and textual documentation defined in the Python wrappers (.xml) which expose the underlying C++ code.

Применение

  1. Select the Help → Automatic python modules documentation option from the menu.
  2. Click on any of the links to go to the documentation of a specific class or function.