Returns the module path for a given module name.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| moduleName (mn) | unicode |   | |
| The name of the module whose path you want to retrieve.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. | |||
Derived from mel command maya.cmds.getModulePath
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.getModulePath(moduleName='myModule')