This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Help for Python Functions

For a complete description of Python® functionality, consult outside resources, in particular, There are different versions of the Python documentation, so be sure to refer to the version corresponding to the version on your system. Many examples in the MATLAB® documentation refer to functions in the Python standard library.

To use functions in a third-party or user-defined Python module, refer to your vendor product documentation for information about how to install the module and for details about its functionality.

The command displays the Python help found at Help for packages and classes can be extensive and might not be useful when displayed in the MATLAB command window.

  • Package'textwrap')
  • Class'textwrap.TextWrapper')
  • Method of a class'textwrap.TextWrapper.wrap')
  • Function'textwrap.fill')

If MATLAB displays an error message beginning with Python Error:, refer to your Python documentation for more information.


You cannot use the interactive Python help, calling without input arguments, in MATLAB.

Related Topics

External Websites