User Tools

Site Tools


wiki:python:basicpython6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:python:basicpython6 [2017/12/05 22:53] (current)
Line 1: Line 1:
 +====== Call bash command (so gdal/​pktools) from python ​ ======
 +\\
 +Material prepared by Stephen Weston ​
 +\\
 +{{gh> ​  ​https://​github.com/​selvaje/​spatial-ecology-codes/​blob/​master/​wiki/​python/​subproc.py }}
 +
 +
 +
 +  import os
 +  os.system ('​gdal_translate ost4sem_all/​ost4sem/​exercise/​basic_adv_gdalogr/​input.tif test.tif'​)
  
wiki/python/basicpython6.txt ยท Last modified: 2017/12/05 22:53 (external edit)