From: Andy T. <an...@ha...> - 2008-03-30 11:25:29
|
Aaron Stevens wrote: > I can report that Python and Leopard work great together. I have done > plenty of work on it since January, and I'm pleased. Also wxWindows > and PythonCard work well on Leopard. > > The only area that I've been disappointed in the Mac-Python mix is > with respect to database libraries. There's a fine one for MacPython > library for MySQL, but to get to any other (Oracle, SQL Server > especially) was a royal pain in the tuchus. I ended up writing a > Python wrapper around JDBC, and then I have Python spark up a JVM and > use the JDBC libraries to talk to the databases. And since some of my > code runs on Linux, this worked well for that as well. > > -Aaron > Well, if it works then fine. Alternatively I'd strongly suggest that you install MacPorts. It has clients, Python libraries and even servers for most open source databases. For Oracle and SQL Server you are probably on your own, bearing in mind that you will need the client software to connect to either of these before you can install the appropriate Python DB module and neither of them (to my knowledge) have been ported to OS X. Have you tried running mxODBC or one of the alternatives? > On Mar 25, 2008, at 9:48 AM, Brian Mahoney wrote: > >> I think I ignored the initial post because Python was having >> problems with the Leopard release, and I expected things would >> eventually resolve themselves. You may want to check the internet >> for the general state of Python (esp. PythonLauncher) and Leopard. >> >> Good Luck >> >> Regards, Andy -- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |