Skip to content

Instantly share code, notes, and snippets.

@robomojo
Created September 22, 2013 14:13
Show Gist options
  • Save robomojo/6660269 to your computer and use it in GitHub Desktop.
Save robomojo/6660269 to your computer and use it in GitHub Desktop.
ipython and pymel loader to call from mayapy
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