Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39422
| Date | 2013-02-21 21:06 +0800 |
|---|---|
| Subject | PyPyODBC 1.0 (Pure Python ODBC) released with Python 3.3 support |
| From | 江文 <jiangwen365@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2163.1361451974.2939.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
PyPyODBC, the single script Python ODBC module, now runs under both Python
2.x and Python 3.3
PyPyODBC - A Pure Python ctypes ODBC module
>
> Features
>
> - *One pure Python script, runs on CPython / IronPython<http://ironpython.codeplex.com/>
> / PyPy <http://pypy.org/> , Version 2.4 / 2.5 / 2.6 / 2.7 , Win /
> Linux , 32 / 64 bit*
> - *Almost totally same usage as pyodbc<http://code.google.com/p/pyodbc>
> * ( can be seen as a re-implementation of pyodbc in pure Python )
> - *Simple - the whole module is implemented in a single python script
> with less than 3000 lines<http://code.google.com/p/pypyodbc/source/browse/trunk/pypyodbc/pypyodbc.py>
> *
> - *Built-in Access MDB file creation and compression functions on
> Windows*
>
> Simply try pypyodbc:
>
> import pypyodbc
>
> pypyodbc.win_create_mdb('D:\\database.mdb')
>
> connection = pypyodbc.connect('Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\\database.mdb')
>
> SQL = 'CREATE TABLE saleout (id COUNTER PRIMARY KEY,product_name VARCHAR(25))'
>
> connection.cursor().execute(SQL)
>
>
> Home Page <http://code.google.com/p/pypyodbc/>
>
> Tutorial <http://blog.sina.com.cn/s/blog_6c64ac1501019ns8.html>
>
> 教程 <http://blog.sina.com.cn/s/blog_6c64ac1501019mx2.html>
>
> Tutorial (Français) <http://blog.sina.com.cn/s/blog_6c64ac1501019ost.html>
>
>
>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
PyPyODBC 1.0 (Pure Python ODBC) released with Python 3.3 support 江文 <jiangwen365@gmail.com> - 2013-02-21 21:06 +0800
csiph-web