[Zope] Using a SQL database connection in Python scripts

AM list_subscriber@neurobs.com
Tue, 24 Sep 2002 08:50:07 -0700


You could also look at the Zope Bible... It has nice python oriented 
approach at Zope
AM

DA Loeffler wrote:

>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?
>>
>>    
>>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>  
>

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================