Created
September 22, 2013 14:13
-
-
Save robomojo/6660269 to your computer and use it in GitHub Desktop.
ipython and pymel loader to call from mayapy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print 'maya.py is running!' | |
print 'importing pymel.core' | |
from pymel.core import * | |
import sys | |
sys.path.append('c:\\py') | |
def get (file): | |
file=str(file) | |
return 'c:/py/maya_scripts/'+file+'.py' | |
print 'embedding ipython' | |
import pyreadline | |
import IPython | |
IPython.embed() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment