From: Andy T. <an...@cr...> - 2001-08-20 13:14:47
|
And the corrections start already ;-) To access MySQL databases you will need MySQL installed, get it from http://www.mysql.com/ (you can also get another version from http://www.mysql.org/ but I'm not getting into that fight, thanks). You will also need the MySQLdb package, which can be found at either of; http://www.cs.fhm.edu/~ifw00065/ or http://dustman.net/andy/python/MySQLdb/ I'm running version 0.3.5 of the MySQLdb package and version 3.23.37 of MySQL. Confirmation that the code works with other version will be most welcome. The other 'gotcha' is that you will need to know the name of the database you want to connect to. By default MySQL creates databases called 'test' and 'mysql' when you install it. If you are stuck try the on line documentation at http://www.mysql.com/doc/ . After that you are definitely on your own - unless you send me a really nice e-mail. I'm also posting this notice as the first piece of documentation. If you have access to cvs it will be in readme.txt. Andy Todd wrote: > Folks, > > Its not just Kevin who is grinding out code for PythonCard, despite any > impressions to the contrary you may get from reading this list ;-) > > Although it has taken me longer than a couple of hours, I've finally got > a working version of my sample application, dbBrowser. It is in the > current cvs tree as a sample application > (http://sourceforge.net/cvs/?group_id=19015). It probably isn't ready to > be included in the daily package yet, but I will leave that call to > Kevin. It does utilise some 'features' of PythonCard that aren't in the > other samples though, mainly in the area of dynamic widget definition > (and removal). > [blah, blah, blah] Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |