Re: [Tutor] module with static global
give an eyes to sqlobject.org. -- Cedric BRINER ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] module with static global
Dear Guys! I am using a class for connecting to an sql database via odbc. It is like this: import dbi, odbc class scalaDB: def __init__(self): self.cn = odbc.odbc('DSN=scalaDB;UID=query;PWD=query;DATABASE=scalaDB') def closeDB(self): self.cn.close() de