Template:Pyapi: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(grass.osgeo.org now uses https)
(Template: point to trunk version)
Line 1: Line 1:
<span class="plainlinks">[https://grass.osgeo.org/grass71/manuals/libpython/{{{1}}}.html#{{{2}}}.{{{3}}} {{{2}}}.{{{3}}}()]</span><noinclude>
<span class="plainlinks">[https://grass.osgeo.org/grass77/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/grass71/manuals/libpython/script.html#script.core.exec_command
  https://grass.osgeo.org/grass77/manuals/libpython/script.html#script.core.exec_command


  {{pyapi|script|script.core|exec_command}}
  {{pyapi|script|script.core|exec_command}}

Revision as of 12:33, 18 January 2019

{{{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/grass77/manuals/libpython/script.html#script.core.exec_command
script.core.exec_command()