notepad++ > run > run (or press F5) C:\mayanotepad\send.
WriteFile = open(r'C:\mayanotepad\testrun.py', 'w')ģ. usersetup.py (anything here will run when maya starts) if mandPort(':7777', q=True) !=1:Ĭmds.commandPort(n=':7777', eo = False, nr = True) So here is my setup to run python script from notepad++ for maya 2011ġ. How do I run python code in notepad Open notepad ++ Click run > run or press F5. There are existing product out there called mapy for maya but I couldn’t get it to work in maya 2009/2011 Notepad++ as a script editor deals better with indent, block comment toggle, replace, find, similar text highlighting etc comparing to the native maya script editor. If you are a beginner, you can write the python code in a text editor like Notepad++.
You can use the Python Launcher to execute a Python program wrote. Calling functions and defining our own, and using Pythons builtin. Run python script from notepad++ for maya 2011 You can visit the official website Notepad++ Home Notepad++ Home for more information.