[Tutor] Python + MySQL

Pijus Virketis virketis@post.harvard.edu
Tue, 6 Aug 2002 13:53:36 +0300


Kyle,

>So the default install of Python 2.2.1 includes no support for
>mysql?

Depends on what you mean by "default". :) PythonWin comes with=
 the 
ODBC module standard. So, if you happen to have MyODBC driver 
(http://www.mysql.com/downloads/api-myodbc-2.50.html) installed=
 with 
your MySQL dabatase, you should be able to just go ahead and use=
 it. 
I've never worked with MySQL that way, so perhaps someone more 
knowledgeable will help you here. ;)

If you want to just use any Python and MySQL, then you have to=
 get 
the module from http://sourceforge.net/projects/mysql-python.=
 There 
is really not much to installing it, though, so don't worry.

Cheers, 

Pijus

-- 
"Anyone attempting to generate random numbers by deterministic=
 means 
is, of course, living in a state of sin." -- John Von Neumann