Hi, All, I would like to write some Python script for doing database house keeping work, and I would like to reuse the table definitions defined in models\db.py. But I am not able to import it since models is not a package, and I was trying to use exec_environment() to do that, but it request a complete setting of request, response, and session. I am just wondering if there is a simple way to reuse the db definition, so that I could operate on databsse in the script in the same way as that in controller.
Thanks a lot -- =========================== Regards Ronghui Yu