Database support in Py?

"Einar S. Idsø" esi at itk.ntnu.no
Tue Jul 5 11:40:26 EDT 2005


Hi all,

I just finished a Py-module based on SQLite. When I plugged it into BF2
and started the server, I got the following jawdropper:

 ImportError:  No module named sqlite

I then unpacked pylib-2.3.4.zip, and the only database library I was
able to find is bsddb. I suppose this means that there is no way to use
MySQL or SQLite directly from within BF2. Is this something which may
change at a later time?

The csv library also seems to be missing, so I suppose the only way to
store data in any kind of DB-like manner is to use bsddb or tabulated
ascii-files. Or is there a better way?

Cheers,
Einar



More information about the Bf1942 mailing list