how saving/retreiving python code from DB ?

vincent delft vdelft at itmasters.com
Wed Jul 18 09:43:16 EDT 2001


I'm looking for a module that allow us to store/import python code into
DB (bsddb for example) instead of a file.

like "import" retreives coding in flat files, is there a way to retreive
coding for a DB ?
something like :
    db.open('db')
    db.dbimport('module1')
    print module1.test()

where 'time' whas previously save into the DB as a Python code :
class module1:
    def test(self):
        print "work"

Thanks








More information about the Python-list mailing list