<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi, I am new to postgis (1.5 under Win 7) but have read enough to feel 
hopeful that it could be just what I need. I have a very large number of
 shape files which I have loaded in my first postgis database generating
 some hundreds of tables with vector data. So far so good, but now I 
need to use it to create queries and extract information in batch using 
Python. I have seen statements by people who used Python to access 
postgis databases but I have not been able to find any coded examples 
which show :<br>1) how to connect to the database<br>2) how to perform queries on the data<br>3) how to extract the results from the queries, etc...<br><br>(all of which can be done in Python easily with MySql )<br><br>Can you please point me to any document which gives examples or code fragments to do the above.<br>Many thanks,<br>George<br>                                                                              </body>
</html>