[Qgis-developer] QgsPythonRunner and multiline command

Giuseppe Sucameli brush.tyler at gmail.com
Tue Mar 27 21:21:27 EDT 2012


Hi all,

I'm seeing that QgsPythonRunner executes all the commands in
"single mode" (just one row at one time), instead IMHO would be
useful to have it working in "file mode" (executing multiple lines).

There are things that cannot be done in single line mode (e.g
try-catch statements). This behavior can be a strict constraint
while defining feature actions.

Is there a reason to have it working in a such manner?
Regards.

-- 
Giuseppe Sucameli


More information about the Qgis-developer mailing list