Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it still too early to hop aboard the Python 3 train?

Tags:

python-3.x

I'm still a beginner to Python, so I thought I could as well learn the newest iteration of Python. Especially since it is now 3.1 or 3.2 something.

But it seems like many mayor modules are still only supported by 2.6. Like the python-mysql module; from what I read on http://mysql-python.blogspot.com/ it seems like 3.x support won't be seen in any near future.

Do you use version 3, how do you get around these problems? Should I retreat to 2.6? If not, what should I use to connect to MySQL?

like image 696
Znarkus Avatar asked May 10 '10 17:05

Znarkus


1 Answers

MySQL Connector/Python is implementing the MySQL Client/Server protocol completely in Python. No MySQL libraries are needed, and no compilation is necessary to run this Python DB API v2.0 compliant driver.

Compatible with Python v2.5 to v2.7 and Python v3.1!

like image 150
Krzysiek Grzembski Avatar answered Sep 22 '22 05:09

Krzysiek Grzembski