Get help on a Python command

The complete list of Python commands is available from the Python Commands page.

You can also access the Python Commands page, and access help for individual Python commands, from within Maya.

To... Do this

Show a short synopsis of command usage and flags.

In the command line or Script Editor, type:

import maya.cmds
helpInfo = cmds.help('<command name>')
print(helpInfo)

For example:

import maya.cmds
helpInfo = cmds.help('move')
print(helpInfo)

Show the Maya Help for a command.

Go to the Help menu and select Maya Scripting Reference > Python Command Reference.

Display auto-completion results for commands and object paths as you type them in the script editor In the Script Editor, turn on Command > Command Completion and Object Path Completion. Then type the first few letters of a command and press Ctrl + Spacebar, or turn on Command > Show Tooltip Help to display auto-complete options automatically.