[Qgis-developer] QgsPythonRunner and multiline command

Tim Sutton lists at linfiniti.com
Thu Mar 29 02:17:06 EDT 2012


Hi

On Thu, Mar 29, 2012 at 2:29 AM, Giuseppe Sucameli
<brush.tyler at gmail.com> wrote:
> Hi Tim,
>
> On Wed, Mar 28, 2012 at 9:45 PM, Tim Sutton <lists at linfiniti.com> wrote:
>> Multiline python support in actions would be nice
>
> good to know you like it.
>
>> a work around I guess you can import a module and execute
>> a function in it passing action params to it.
>
> That's a possible work around, but creating a new file is very
> annoying when you want to write only few lines of code.
> In addition a user can find difficulty in loading a module,
> especially if they don't know how to correctly setup python to
> find their modules.
>
> Obviously using python in actions requires some knowledge (e.g.
> to know python syntax), but users usually search and adapt a
> working script.
>
> Sometimes puts more python commands in just one line of
> code can require more skills than compile QGis on Windows
> w/o getting dependencies from OSGeo4W :)
>

haha agreed

Regards

Tim

> Cheers!
>
> --
> Giuseppe Sucameli



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list