Here is my code, which I execute with Ctrl-B: @language python
import numpy as np def output(body, headline = 'output'): c.insertChild() childV = c.p.v c.p.h = headline c.redraw() c.p.b = body c.p.moveToLastChildOf(c.p.parent()) c.setCurrentVnode(childV) a = np.array([1,3]) output(repr(a)) It does exactly what I wanted and expected it to do, however, it spits out this error to the log: exception executing script AttributeError: 'VNodeBase' object has no attribute 'v' only 19 lines -------------------- line 6101: trace = False and not g.unitTesting * line 6102: c = self line 6103: if not p or not p.v: line 6104: return False Thoughts? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
