Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

explain lines of code

0 REPLIES 0
Reply
Message 1 of 1
jinujohn
169 Views, 0 Replies

explain lines of code

Hi,

Can any one tell what the following lines of code is for
import sys
import maya.cmds as cmds
maya_path = cmds.internalVar(userAppDir=True) + '/scripts'
if maya_path not in sys.path:
sys.path.append(maya_path)

 

Thank you.

Tags (2)
Labels (1)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report