[Zope] Using a SQL database connection in Python scripts
DA Loeffler
DA Loeffler <David.Loeffler@bristol.ac.uk>
Tue, 24 Sep 2002 13:50:10 +0100 (BST)
Try reading the ZSQL Results How-To, at
www.zope.org/Members/spinwing/ZSQL_Results. As for DTML versus Python,
it's certainly a documentation issue - anything DTML can do, Python plus
ZPT can do <flame>better</flame>
David
On Tue, 24 Sep 2002, Andreas Tille wrote:
> Hello,
>
> I just created a database connection and want to do some queries from
> a Python script and solving the problem without defining explicite
> ZSQL methods and just do some queries from the python script.
>
[snip]
> I tired to find some solutions in the Zope Book but failed because it
> describes only DTML methods to query databases. Is there any reason to
> use only DTML with databases and my intention has real drawbacks or
> is it just a lack of documentation?
>