Fred L. Drake, Jr. wrote:
> On Wednesday 29 March 2006 21:55, Greg Ewing wrote:
>  >    import db where db.stdlib == True and db.language == "SQL" \
>  >       and db.interface == "DBAPI2.0"
> 
> While we're at it, we could spell import "select".  :-)

Getting off on a tangent here, but I would actually
like some decent way of writing SQL queries in Python --
not for importing, but for database access.

Constructing bits of SQL out of character strings
sucks *extremely* badly.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | Carpe post meridiam!                 |
Christchurch, New Zealand          | (I'm not a morning person.)          |
[EMAIL PROTECTED]          +--------------------------------------+
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to