On 11/1/07, Jack <[EMAIL PROTECTED]> wrote:
>
>
> Is it possible to fetch information from a database (say, PostgreSQL)
> with sage?  If so, how is it done?  If not, is there  a workaround
> that people use?


Using Psycopg2 is the most popular way of using PostgreSQL from python,

see:
http://www.initd.org/tracker/psycopg/wiki/PsycopgTwo

from their website:
"Its main advantages are that it supports the full Python DBAPI 2.0 and it
is thread safe at level 2."

the DBAPI 2.0 is a good thing because it normalizes the access
of most popular databases (Sqlite / MySQL / PostresSQL, etc)
see:
http://www.python.org/dev/peps/pep-0249/


-Alex



> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to