Template:Pyapi: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<span class="plainlinks">[http://grass.osgeo.org/grass71/manuals/libpython/{{{1}}}.html#{{{2}}}.{{{3}}} {{{3}}}]</span><noinclude>
<span class="plainlinks">[http://grass.osgeo.org/grass71/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 11: Line 11:


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


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

Revision as of 11:51, 10 October 2014

{{{2}}}.{{{3}}}() Python programming Manual semi-external link. Usage:

{{pyapi|section|module|function}}

For example

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

creates

http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.exec_command
script.core.exec_command()