Stumbling Toward 'Awesomeness'

A Technical Art Blog

Monday, April 2, 2018

ScriptWrangler: A light-weight script editor for embedded Python environments

As a UE4 Python tool example, I wrote a pretty bare bones script editor for UE4 and tossed it up on github. While my goal was making a tool to allow me to play around with UE4 Python, this is actually a lightweight script editor for any python environment that is lacking one.

Epic will make some kind of script editor in the future, but until then, feel free to use (and improve!) this one:
https://github.com/chrisevans3d/scriptWrangler

This requires PySide, you can pip install that, I gave an example in my previous post, here.

To run the script, you simply enter the path to it, example:

posted by Chris at 3:48 PM  

5 Comments »

  1. http://www.scintilla.org/SciTE.html

    Is a standard for a lot of years. Very clean, good for other things as well.

    The offer from Visual Studio is also good (not the full IDE)

    Comment by Bramagola — 2018/04/02 @ 8:55 PM

  2. I actually use SciTE! But you kind of missed the point of this post, this tool is for spitballing and mocking up python inside an app like UE4, much like Maya’s script editor. This is not meant to be an external IDE.

    Comment by Chris — 2018/04/03 @ 11:36 AM

  3. I downloaded the git hub file and found it doesnt work. It has several lines that break since they are trying to import maya modules into unreal.

    A few examples are:

    import maya.cmds as cmds
    import maya.OpenMayaUI as openMayaUI
    import maya.mel as mel

    Regardless it was a helpful example so thanks for posting this.

    Comment by Ryan T — 2018/08/08 @ 1:53 PM

  4. Ryan, I think you have the wrong file, I don’t see those lines.

    Comment by Chris — 2018/08/30 @ 7:41 AM

  5. Forget this, We are using an additional QtPy lib which needs QtCompat, not available here

    Comment by Sebastien MARAUX — 2018/08/30 @ 12:30 PM

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress