X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Connecting to Access with Python from within Cygwin Date: Wed, 18 Jun 2008 22:03:31 +0200 Lines: 21 Message-ID: References: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/