Here's my Leo/Blender integration script :-)

    import sys
    import imp
    sys.path.append('/home/tbrown/Desktop/Blender/mnbba')
    file, pathname, description = imp.find_module('mnbba02')
    imp.load_module('mnbba02', file, pathname, description)

Basically a forced import of the module being developed, a simple
import mnbba02; imp.reload(mnbba02) doesn't work because it runs the
code twice the first time, and import mnbba02 by itself only works once.

Place this in the Blender *Text* window (not Python console), and click
the Run Script button in blender to run.  print() output goes to the
terminal window which launched Blender.

But autocompletion in Leo would sure be nice.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to