Difference between revisions of "Template:Pyapi"
From GRASS-Wiki
(Template: point to trunk version) |
(point to "grass-stable" rather than hardcoded version) |
||
Line 1: | Line 1: | ||
− | <span class="plainlinks">[https://grass.osgeo.org/ | + | <span class="plainlinks">[https://grass.osgeo.org/grass-stable/manuals/libpython/{{{1}}}.html#{{{2}}}.{{{3}}} {{{2}}}.{{{3}}}()]</span><noinclude> |
Python programming Manual semi-external link. Usage: | Python programming Manual semi-external link. Usage: | ||
Line 10: | Line 10: | ||
creates | creates | ||
− | https://grass.osgeo.org/ | + | https://grass.osgeo.org/grass-stable/manuals/libpython/script.html#script.core.exec_command |
{{pyapi|script|script.core|exec_command}} | {{pyapi|script|script.core|exec_command}} |
Latest revision as of 01:41, 28 August 2020
{{{2}}}.{{{3}}}() Python programming Manual semi-external link. Usage:
{{pyapi|section|module|function}}
For example
{{pyapi|script|script.core|exec_command}}
creates
https://grass.osgeo.org/grass-stable/manuals/libpython/script.html#script.core.exec_command
script.core.exec_command()