X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: Connecting to Access with Python from within Cygwin
Date:  Wed, 18 Jun 2008 22:03:31 +0200
Lines: 21
Message-ID: <g3bpmu$sll$2@ger.gmane.org>
References:  <f68d89470806172329n528ccdaer6d99ca53690a77df@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="utf-8"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Robert Latest (Wed, 18 Jun 2008 08:29:37 +0200)
> I've written a small script in a Windows Python envoronment. This
> script accesses an MS Access database using the win32 odbc module.
> These are involked using this line:
> 
> import odbc, dbi
> 
> However, I greatly prefer the Linux/X look and feel for development,
> so I'd like to use this script from within Cygwin. Unfortunately it
> doesn't work. I've tried copying the relevant modules from the
> Win32-Python installation into /usr/lib/..., but it doesn't work.

No surprise.
 
> I'm not really expecting it to work, either, because Cygwin after all
> wraps the win32 API into an UNIX-like API. But maybe there's a cheap
> trick to get it to wordk.

http://pypi.python.org/pypi?%3Aaction=search&term=odbc&submit=search

Thorsten


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

