Take the 2-minute tour ×

I have been learning Python for a while, and now I'd like to learn Python for the web; using Python as a back-end of a website. Where and how do I start learning this?

Example usages are: connecting to databases, and retrieving and storing information from forms.

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

You should check out Django, which is the most popular python web framework. It has a lot of features, such as an ORM and a template language, but it's pretty easy to get started and can be very simple to use.

share|improve this answer
Thanks, any good tutorial or book you suggest for django? –  srisar Apr 13 '10 at 7:50
I recommend the tutorial on the main website: docs.djangoproject.com/en/dev/intro/tutorial01 The docs on the site are good. And there is the free Django book: djangobook.com –  codeape Apr 13 '10 at 8:02
@srisar: Did you look at the Django site before asking? It has a tutorial that seems to be really obvious. –  S.Lott Apr 13 '10 at 11:51
add comment

While using a full framework like Django, Pylons or TurboGears is nice, you could also check out the more light-weight approaches.

For instance:

share|improve this answer
yea, this is kinda think i expected, light weight, good thanks –  srisar Apr 13 '10 at 8:32
add comment

You might also try:

  • Tornado, which allows you to write pure python right into templates.
    • web2py is a good start as it doesn't requires installation or configuration,and has no dependencies, it's pretty simple to learn and use.
    • Another good option if you wanted to speed the learning process would be take a customized crash course in python with an expert. As an example: https://www.hartmannsoftware.com/Training/Python?
share|improve this answer
add comment

Your Answer


