pymel.mayautils.source¶
- source(file, searchPath=None, recurse=False)¶
Execute a python script.
Search for a python script in the specified path and execute it using execfile.
Parameters: - searchPath : list of str
list of directories in which to search for file. uses sys.path if no path is specified
- recurse : bool
whether to recurse into directories in searchPath