Template:Pyapi: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(new)
 
(point to "grass-stable" rather than hardcoded version)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="plainlinks">[http://grass.osgeo.org/grass71/manuals/libpython/{{{1}}}.html#{{{2}}}.{{{3}}} {{{4}}}]</span><noinclude>
<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


  http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.exec_command
  https://grass.osgeo.org/grass-stable/manuals/libpython/script.html#script.core.exec_command
 
{{pyapi|script|script.core|exec_command}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 08: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()