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
Post a Comment