[Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

Nathan Woodrow madmanwoo at gmail.com
Thu Jun 16 23:36:59 EDT 2011


I was just thinking about this:

People might think they can mix python variables with variables in
> other DSLs. Which would be tricky.


Well would that be such a bad thing? The DSLs can return a object from the
evaluated string so why not let them be mixed.  This would mean you can do
things like:

mypythonVar = (SQL:Select Sum(column) From Table)
#Some more python code to assign the value to a QgsFeature


Just a thought.

- Nathan

On Thu, Jun 16, 2011 at 10:27 PM, Barry Rowlingson <
b.rowlingson at lancaster.ac.uk> wrote:

> People might think they can mix python variables with variables in
> other DSLs. Which would be tricky.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110617/90703c77/attachment.html


More information about the Qgis-developer mailing list