[DB-SIG] Running shp2pgsql from Python

Ervin Ramonllari ramonllari16359 at itc.nl
Fri Jul 27 11:19:44 CEST 2007

Hello all,
I' trying to run PostGIS Loader (shp2pgsql) from python using the
following syntax:
import os
os.execv('mydir/shp2pgsql.exe', args)
*args is a list of arguments, the same as I pass them using cmd.exe
Is it correct or I'm doing sth wrong because it runs but there is no
result, no error either?
Any help would be really appreciated :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/db-sig/attachments/20070727/f930fd3f/attachment.html 

More information about the DB-SIG mailing list