Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'cpython': 0.05; 'pypy': 0.07; 'subject:released': 0.07; 'url:blog': 0.09; 'python': 0.09; 'compression': 0.09; 'pyodbc': 0.09; 'script,': 0.09; 'url:pypy': 0.09; '2.7': 0.13; 'skip:p 40': 0.15; 'url:py': 0.16; 'driver': 0.17; 'windows': 0.19; 'module': 0.19; 'skip:p 30': 0.20; 'subject:) ': 0.20; 'bit': 0.21; 'import': 0.21; 'ctypes': 0.22; 'runs': 0.22; 'linux': 0.24; 'script': 0.24; 'implemented': 0.27; '2.6': 0.27; 'message- id:@mail.gmail.com': 0.27; 'lines': 0.28; 'url:code': 0.29; 'connection': 0.30; 'url:source': 0.30; 'primary': 0.30; 'file': 0.32; 'to:addr:python-list': 0.33; 'tutorial': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'built-in': 0.35; 'table': 0.35; 'url:org': 0.36; 'totally': 0.36; 'subject: (': 0.36; 'skip:( 30': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'url:p': 0.63; '8bit%:31': 0.65; 'home': 0.66; '3000': 0.71; 'from:charset:gb2312': 0.78; '(id': 0.84; '<>*': 0.95; 'url:cn': 0.97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=628lIOzqw3D4FwCDFnV2hWNfNmaraPdc5Q3HfOie6dw=; b=hXYaojpDf6ciH/l9Y0HYmEsZPqhI/DNRz+ujTmF2BRUQ9LMtW3wAN/tKpMCet2AzA6 V4CikaPt08Hg1WgpWQLxyWW357wSscBlXTdqFPfIUvEQQ1tLWRHsehz1wZvhLfSjaVWT PCj5blCcpRGflA3h6VdRTGV44WzQAY6sxjMxCGVBT4JTpOGaNya/PZiZDjgb+ywGb9r0 H34pBMeBR8JoouMhd2orzOSqqv0iG2JCse8Apm+W9M8bjFRnvqAXNHurl6EU9Ge2Apft kTkWov0mbepHHeGInI8PN5WOPbIJPR/wkJsDcZyQG9wCWdfn2OLFz71ozVDl7bAe54SA YFKA== MIME-Version: 1.0 X-Received: by 10.50.16.210 with SMTP id i18mr3101962igd.53.1359904518630; Sun, 03 Feb 2013 07:15:18 -0800 (PST) Date: Sun, 3 Feb 2013 23:15:18 +0800 Subject: PyPyODBC 0.9.2 (Pure Python ODBC) released From: =?GB2312?B?va3OxA==?= To: python-list@python.org Content-Type: multipart/alternative; boundary=f46d04428b6cc2ee7104d4d371cc X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 131 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359904526 news.xs4all.nl 6920 [2001:888:2000:d::a6]:44596 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38105 --f46d04428b6cc2ee7104d4d371cc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable PyPyODBC - A Pure Python ctypes ODBC module Features - *One pure Python script, runs on CPython / IronPython / PyPy , Version 2.4 / 2.5 / 2.6 / 2.7 , Win / Linux , 32 / 64 bit* - *Almost totally same usage as 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 * - *Built-in Access MDB file creation and compression functions on Window= s * Simply try pypyodbc: import pypyodbc pypyodbc.win_create_mdb('D:\\database.mdb') connection =3D pypyodbc.connect('Driver=3D{Microsoft Access Driver (*.mdb)};DBQ=3DD:\\database.mdb') SQL =3D 'CREATE TABLE saleout (id COUNTER PRIMARY KEY,product_name VARCHAR(= 25))' connection.cursor().execute(SQL) Home Page Tutorial =E6=95=99=E7=A8=8B Tutorial (Fran=C3=A7ais) --f46d04428b6cc2ee7104d4d371cc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
PyPyODBC - A Pure Python ctypes ODBC module

Features=

  • One pure Python script, runs on C= Python /=C2=A0IronPython=C2=A0/=C2=A0PyPy=C2=A0, Ver= sion 2.4 / 2.5 / 2.6 / 2.7 , Win / Linux , 32 / 64 bit
  • Almost totally same usage as=C2= =A0pyodbc=C2=A0( can be seen as a re-implementa= tion of pyodbc in pure Python )
  • Simple - the whole module is impl= emented in a single python script with less than=C2=A03000 lines
  • Built-in Access MDB file creation= and compression functions on Windows

Simply try pypyodbc:

import pypyodbc 
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
pypyodbc=
.win_create_mdb= ('D:\\database.mdb= ')

connection
=3D pypyodbc.connect('Driver=3D{Microsoft Access Driver (*.mdb)};DBQ=3DD:\\database.mdb= 9;)

SQL
=3D
'C= REATE TABLE saleout (id COUNTER PRIMARY KEY,product_name VARCHAR(25))'<= /span>

connection
.cursor().execute(SQL)



--f46d04428b6cc2ee7104d4d371cc--