Pyhon 3 is probably the future but as of know the database drivers do not work with it. I also believe Python 3 is slower then Python 2.5-6.
The main new features of Python 3 consists of default unicode strings and possibility to code in unicode (imagine function names with Chinese or Russian names). I disagree with Guido that this is a good idea. Allowing people to program in their alphabet will result in less exchange of code, not more and hard to read applications. At this point I see no reason to use Python 3.x, Massimo On Jul 10, 12:19 am, eric cs <[email protected]> wrote: > Thanks guys, > So those books about Python 3.0, it's useless if I am planning to learn > Web2py Python's version. > Because they say: > " > > Python 3 is the best version of the language yet: It is more powerful, > convenient, consistent, and expressive than ever before. Now, leading Python > programmer Mark Summerfield demonstrates how to write code that takes full > advantage of Python 3’s features and idioms. The first book written from a > completely “Python 3” viewpoint, *Programming in Python 3 *brings together > all the knowledge you need to write any program, use any standard or > third-party Python 3 library, and create new library modules of your own. > > - Developing in Python using procedural, object-oriented, and functional > programming paradigms > - Creating custom packages and modules > - Writing and reading binary, text, and XML files, including optional > compression, random access, and text and XML parsing > - Leveraging advanced data types, collections, control structures, and > functions > - Spreading program workloads across multiple processes and threads > - Programming SQL databases and key-value DBM files > - Utilizing Python’s regular expression mini-language and module > - Building usable, efficient, GUI-based applications > - Advanced programming techniques, including generators, function and > class decorators, context managers, descriptors, abstract base classes, > metaclasses, and more > > " > > On Fri, Jul 10, 2009 at 12:45 AM, Yarko Tymciurak <[email protected]> wrote: > > Python 3 requires some code changes to applications. While these are not > > really great, the deal is (it seems always with major Python release > > changes) that it's easier to migrate an app than a framework - as (for > > example) web2py and django use mod_wsgi, all sorts of db backends, > > libraries, etc. When all those port and are stable and available, then the > > applications that use the various libraries from the Python community > > usually follow suite. > > > Consider it will take something on the order of a year or so. > > > BTW - the web2py code base itself is poised to run on Python 3, but until > > those other things are there (and tested) it wouldn't be terribly useful. > > > On Thu, Jul 9, 2009 at 8:28 PM, eric cs <[email protected]> wrote: > > >> Oh I was wondering why Web2py and Django are not using the last > >> version of Python 3 as well. > >> Thanks. > > >> On Jul 9, 9:11 pm, eric cs <[email protected]> wrote: > >> > Hey guys, > > >> > I am a newbie and Python and amazed by Web2py so I was wondering.... > >> > Can you compared them for me? As far as best features, closures,mixins > >> > and etc? > >> > Which one is easier to a newbie learn and why? > >> > I do know they look like each other but I saw some people saying > >> > Python is more mature than Ruby. > >> > Although Python and it's frameworks has much less books than Ruby and > >> > Rails. > >> > Some people like that because leaves Python on the > >> > underground...hackers...heheh > >> > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

