Help!

Daniel Nogradi nogradi at gmail.com
Mon Jul 17 17:22:34 EDT 2006


> I have a problem with python. When I try to connect to
> postgresql. It appears a message.
>
>  ]$ python
>
>             >>> from pg import DB
>                         Traceback (most recent call last):
>
>                            File "<stind>", line 1, sn?
>
>                         ImportError: No module name pg
>

You need to install the pygresql module in order to use anything
related to postgresql from python. You can get it from here:
http://www.pygresql.org/



More information about the Python-list mailing list