> 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/ -- http://mail.python.org/mailman/listinfo/python-list