Learning Python

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
I am looking to learn Python. I am coming from a php background, does anyone know any good resources? what other good open source languages should i be looking at?
 

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
Which python should i be learning 2.x or 3.x? whats the difference?
 

chopsuey

Well-Known Member
Joined
Nov 13, 2005
Messages
367
Which python should i be learning 2.x or 3.x? whats the difference?

I develop in 2.x only, because that is the version our servers are running on.

3.1 is pretty new, I think most of the 3rd party frameworks/APIs have not been ported to 3.1 yet.

I have only had a quick look at 3.1 and it seems 95% of the language are the same (backwards compatable), the biggest change is support for UNICODE from the ground up. Ver 3 probably includes some new goodies too.

For diff between version 2.x and 3.x have a look at http://diveintopython3.org/

And remember, google can be your friend too. ;)
 

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
What web framework would you recommend for a n00b like me? I am looking for something MVC, like codeigniter for php.
 

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
I am hoping to add it as one of my skills. I am currently playing with web2py. I have seen go, but didn't download anything, I am taking it step by step
 

chopsuey

Well-Known Member
Joined
Nov 13, 2005
Messages
367
Are you learning Python for fun or work?
When using Python you don't have to make that choice ;)


What web framework would you recommend for a n00b like me? I am looking for something MVC


There are 3 "Mega" web frameworks in Python, that I know of.

Zope: Tried it out couple of years ago, when it was the only "mega" web framework, but the learning curve made me cry. Probably best to skip this one.

Turbogears: The only one I really put some research into, liked the idea of having different components that could be used stand alone without using/installing the whole framework.

Django:The one that seems to be the most popular at the moment. (But I still prefer the Turbogears idea)


PS: Take this opinions with a grain of salt, as I'm a systems/back-end developer and don't have allot of web experience. My apps don't have a nice front-end to show management/clients :(
 
Last edited:

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
I will have a look at those this weekend and give you feedback. I am really loving web2py though i would recommend it to any n00b.
 
Top