Selon Chaitanya kumar CH <[email protected]>: > Neha, > > You can use the subprocess module of Python.
I can also mention a Python port of gdalinfo that you can adapt to extract the information that interest you and/or reformat the output according to your needs : http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/gdalinfo.py > > On Tue, Aug 28, 2012 at 2:06 PM, Neha Bijalwan > <[email protected]>wrote: > > > how to use gdalinfo with python script? i intend to store the result > > of gdalinfo for a raster into a variable and display it, the end > > result being the output of gdalinfo being displayed? how is it > > possible? > > _______________________________________________ > > gdal-dev mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > > -- > Best regards, > Chaitanya kumar CH. > > +91-9494447584 > 17.2416N 80.1426E > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
