public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Connecting to Access with Python from within Cygwin
@ 2008-06-18  8:01 Robert Latest
  2008-06-18  8:44 ` Robert Latest
  2008-06-18 20:20 ` Thorsten Kampe
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Latest @ 2008-06-18  8:01 UTC (permalink / raw)
  To: cygwin

Hello,

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.

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.

Thanks,
robert

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Connecting to Access with Python from within Cygwin
  2008-06-18  8:01 Connecting to Access with Python from within Cygwin Robert Latest
@ 2008-06-18  8:44 ` Robert Latest
  2008-06-18 20:20 ` Thorsten Kampe
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Latest @ 2008-06-18  8:44 UTC (permalink / raw)
  To: cygwin

Hello,

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.

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.

Thanks,
robert

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connecting to Access with Python from within Cygwin
  2008-06-18  8:01 Connecting to Access with Python from within Cygwin Robert Latest
  2008-06-18  8:44 ` Robert Latest
@ 2008-06-18 20:20 ` Thorsten Kampe
  1 sibling, 0 replies; 3+ messages in thread
From: Thorsten Kampe @ 2008-06-18 20:20 UTC (permalink / raw)
  To: cygwin

* 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-18 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-18  8:01 Connecting to Access with Python from within Cygwin Robert Latest
2008-06-18  8:44 ` Robert Latest
2008-06-18 20:20 ` Thorsten Kampe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).