Truly platform-independent DB access in Python?
Bruno Desthuilliers
onurb at xiludom.gro
Mon Aug 28 05:36:39 EDT 2006
lbolognini at gmail.com wrote:
> bobrik wrote:
>> I am using the Python DB API for access to MySQL. But it is not
>> platform-independent - I need a module not included in Python by
>> default - python-mysql, and it uses a compiled binary _mysql.so. So it
>> is not platform-independent because for each web-server on different
>> platform, I would have to download it and extra compile it specifically
>> for that platform. Do you know of any Python solution for MySQL access
>> that is 100% platform-independent?
>
> Probably SqlAlchemy
> http://www.sqlalchemy.org/
Probably not - I fail to see how SqlAlchemy could talk to MySQL without
the MySQL/Python binding.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list