[GRASS-user] Copy python code from GRASS GUI modules

Vaclav Petras wenzeslaus at gmail.com
Sat Feb 2 12:32:34 PST 2013


Hi Johannes,

On 1 February 2013 14:52, Johannes Radinger <johannesradinger at gmail.com> wrote:
> Hi,
>
> I was just asking myself if there is something like the "copy code" button like
> to get the GRASS python code of a module (incl. its settings) in the
> GUI. I am thinking
> of a comparable button to the actual copy button in GRASS for the shell command.
> I am often trying some modules in the GUI and after I am happy with all settings
> I am usually implementing it in a python script for my purposes. So to copy the
> code directly would be a really nice tool...
> Anything like that planned?

For more complex workflows there is modeler where you can export model
as a Python script.

Vaclav

>
> /Johannes
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list