I'm writing a script to import shp to postgis, using python, osgeo and psycopg2 ( see my previous question: Import shp to Postgis using Python and ogr )
I'd know if there is a way to get by osgeo library the SRID (for example 4326) of the shp.
So I can confirm the SRID or transform it using script directly.