views:

265

answers:

5

One of the feature I like in RoR is the db management, it can hide all the sql statement, also, it is very easy to change different db in RoR, is there any similar framework in Python 3000?

A: 

There's Django but it works with Python 2.3+ only for now.

mickael9
+4  A: 

Python 3 is not yet in high deployment. It's still lacking a lot of third party libraries.

The recommended Python version is 2.6.x, as it's the most current, it's backwards compatible, and has many backported features from 3.1.

For Python 2.6 you will find quite a few frameworks:

voyager
it is 2.6.3 as of yesterday
SilentGhost
Damn! Thanks SilentGhost *rushes to http://www.python.org/download/releases/*
voyager
no windows version yet.
SilentGhost
Actually, I use Arch Linux and it seems that it hasen't been updated, *yet* http://www.archlinux.org/packages/extra/i686/python/
voyager
A: 

Python 3 is not ready for practical use, because there is not yet enough libraries that have been updated to support Python 3. So the answer is: No.

But there are LOADS of them on Python 2. Tens, at least.

Django, Turbogears, BFG and of course the old man of the game: Zope. To tell which is best for you, you need to expand your requirements a lot.

Lennart Regebro
Here is a (probably not complete) list:http://wiki.python.org/moin/WebFrameworks
Lennart Regebro
+1  A: 

Python 3 isn't ready for web applications right now. The WSGI 1.0 specification isn't suitable for Py3k and the related standard libraries are 2to3 hacks that don't work consistently faced with bytes vs. unicode. It's a real mess.

WEB-SIG are bashing out proposals for a WSGI revision; hopefully it can move forward soon, because although Python 3 isn't mainstream yet it's certainly heading that way, and the brokenness of webdev is rather embarrassing.

bobince
+2  A: 

I believe CherryPy is on the verge of being released for Python 3.X.

Graham Dumpleton