Mailing List Archive

Mac ODBC
Does anyone have ODBC working under Mac Python? If so could you provide me
with some hints on where to get the various Mac sources and some compile
hints? I do have a PPC Mac ODBC driver that does work.

Thanks,

Dan, Dan@Grassi.com
Mac ODBC [ In reply to ]
Dan Grassi wrote:
>
> Does anyone have ODBC working under Mac Python? If so could you provide me
> with some hints on where to get the various Mac sources and some compile
> hints? I do have a PPC Mac ODBC driver that does work.

Does the driver expose the ODBC API in a way that allows you to
link against it ? If yes, then you could try to create a new
subpackage for mxODBC (see my Python Pages for more infos).

--
Marc-Andre Lemburg
______________________________________________________________________
Y2000: 139 days left
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/
Mac ODBC [ In reply to ]
Hi M.-A. Lemburg,

>Does the driver expose the ODBC API in a way that allows you to
>link against it ? If yes, then you could try to create a new
>subpackage for mxODBC (see my Python Pages for more infos).

Yes it does. I initially did not think that it did, a co-worker had
installed the ODBC package and when I asked him he said that no source
files were included. Your message got me thinking and checking and yes
there were files and libraries.

When I get this working I will let you know and make the project source
available.

Thanks,

Dan
Mac ODBC [ In reply to ]
Dan wrote:
>
> Hi M.-A. Lemburg,
>
> >Does the driver expose the ODBC API in a way that allows you to
> >link against it ? If yes, then you could try to create a new
> >subpackage for mxODBC (see my Python Pages for more infos).
>
> Yes it does. I initially did not think that it did, a co-worker had
> installed the ODBC package and when I asked him he said that no source
> files were included. Your message got me thinking and checking and yes
> there were files and libraries.
>
> When I get this working I will let you know and make the project source
> available.

Great :-) What database are you interfacing to ? If you can, you
should link against the ODBC manager if available. This gives you
more flexibility later on and would also make the interface useable
with other ODBC software for Macs.

If you need any help, feel free to ask me. Instructions for
creating a new subpackage are included in the mxODBC docs; it's
basically very simple: you just create a new subdir, then
copy everything from the mxODBC subdir into the new dir and
start editing the files.

--
Marc-Andre Lemburg
______________________________________________________________________
Y2000: 138 days left
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/
Mac ODBC [ In reply to ]
Marc-Andre Lemburg wrote:

>What database are you interfacing to?

Sybase & Oracle.

>If you can, you
>should link against the ODBC manager if available.

I will check into this. I am using the Intersolv ODBC driver at the
moment, I do not know if their interface is the same as the Apple
(unsupported/obsolete Visigenics) interface. Time will tell.

My time frame is during September.

Dan, Dan@Grassi.com