I would like to request Extending pqPythonManager to execute pvpython from
memory buffer rather
than exlusively from an external file (patch supplied as at
http://paraview.org/Bug/view.php?id=13456 ).
Why? Within other plugins, filters, C++ programs, can be helpful to execute
some sma
Hi Ian,
I added a note to the mantis issue.
I believe that it is already possible to execute python code from a string
(instead of a file) like this:
#include "pqPythonShell.h"
#include "pqPythonDialog.h"
pythonManager()->pythonShellDialog()->shell()->executeScript("print 'hello
world!'");
Pat