@Marcus that is a very interesting looking script. I'm going to give it a 
try together with Dreampie. Thanks guys :)

I'm taking a few Python courses on Coursera and as strange as it sound I'm 
using Maya script editor as my main IDE haha... I've also been using 
PyCharm when I'm scripting a complete stand-alone apps and although it's 
not quite a live environment, it works great and I enjoy it a lot. Still 
trying to learn more about debugging.



On Monday, June 8, 2015 at 3:38:06 AM UTC+7, Marcus Ottosson wrote:
>
> Here we go: http://www.paulwinex.ru/multi-script-editor-v2-0/
>
> In standalone mode, looks exactly like what the OP is asking for.
>
> On 5 June 2015 at 22:06, Justin Israel <[email protected] <javascript:>> 
> wrote:
>
>>
>>
>> On Sat, Jun 6, 2015 at 6:47 AM Robert White <[email protected] 
>> <javascript:>> wrote:
>>
>>> Sounds like you're looking for more of a live coding environment than an 
>>> IDE.
>>> The thing to keep in mind with Maya is that you're sort of dealing with 
>>> a constantly running interpreter, not a development environment.
>>>
>>
>> That's really the key distinction here.  The script editor is an 
>> auxiliary interface to send commands to an embedded interpreter. So it 
>> makes a lot more sense to be able to execute arbitrary snippets from a body 
>> of code, since it is more like sending control statements. But a proper 
>> development environment is meant for developing valid units of code, so it 
>> would take plugins (as Marcus mentioned for REPL support) or specific dev 
>> environments geared for toying with snippets (like ipython notebook). 
>>
>>
>>> Happily though there are some python tools that do work similarly.
>>> I use iPython <http://ipython.org/> a lot, it has an enhanced 
>>> interpreter mode, a Qt based console mode (which is an extra 
>>> pretty interpreter + toys), and then the notebook web interface mode. That 
>>> one is rather awesome to work with as you can rerun cells at any time, much 
>>> like the "hightlight + run" option you get inside maya.
>>>
>>> Another enhanced interpreter you can try out is dreampie 
>>> <http://www.dreampie.org/>, the interface looks more like Maya's with 
>>> the split between a space for entering code, and a space for results. It 
>>> can be a bit finicky about comments and docstrings when doing huge copy / 
>>> pastes, and I can't remember if you can do partial execution (its been a 
>>> few years since the last time I used it).
>>>
>>> And of course there is also the option of doing work in a IDE / editor, 
>>> and using Maya's commandport to send code over. Justin's MayaSublime 
>>> package is pretty awesome for this, and I know someone has made a similar 
>>> set of tools for both PyCharm and Eclipse.
>>>
>>>
>>>
>>> On Thursday, June 4, 2015 at 10:51:00 PM UTC-5, Panupat Chongstitwattana 
>>> wrote:
>>>>
>>>> I really enjoy how the scripting in Maya is like 1 continuous session. 
>>>> Meaning I can import something once and keep on running its method over 
>>>> and 
>>>> over. Also enjoy how I can high light parts of my code and execute only 
>>>> that without losing the code.
>>>>
>>>> Any IDE out there that offers similar functionality?
>>>>
>>>  -- 
>>>
>>>  -- 
>>
>
>
>
> -- 
> *Marcus Ottosson*
> [email protected] <javascript:>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/02e9e250-44d9-4def-ade0-8c9added75c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to