canopy - Returning value to pane from macro in ipython -


i new python.. trying create macro. when selected word , press f3 filedialog come , ill select folder,ill occurance of word in files in tat folder displayed in pane. problem couldn't return value macro editor pane.

currently using code

code_task = get_active_task() python_pane = code_task.python_pane python_pane.execute_command(u'print "searchstring"\n') 

(consider searchstring contains data)

when try execute telling tat undefined variable searchstring. me how send data macro editor pane.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -