Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to learn about developing websites with Python; how should I go about this? I am not new to programming, as I have knowledge in C#, ASP.NET, HTML, and CSS.

What resources should I explore? I had a brief look at Python documentation and Dive Into Python a while ago, although the one I read was a newer version hosted at a .org website which appears to be down right now. Therefore I am aware of some Python syntax, operators, lists, etc.

The main thing is that I want to learn about developing websites, and at the same time learn Python overall; I don't want to start back at the documentation or other stuff.

NOTE: You can assume I have zero knowledge in Python since what I know isn't that great.

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

Two ways you can go - traditional CGI (NOT recommended) or some Web development framework. I use, and would therefore suggest Django. There are other frameworks though, but I feel Django is the most complete and mature one. They have excellent docs for beginners. Check out The Django Book.

BUT your major requirement - Learning Python along with web devel - cannot be fully realized. You need to know atleast Python the language - the syntax and control structures etc. before you venture out(otherwise you'll end up jumping between two/more open docs frequently). Advanced topics such as inner classes, wrapper methods etc are explained in the Django docs. So my suggestion - Go ahead with Dive into Python till you're comfortable with the language, then move on to the Django Book.

share|improve this answer
1  
The other major python web framework is TurboGears. Unlike monolithic Django, TurboGears is collection of independent libraries that can be used on their own. –  Jan Hudec Nov 3 '11 at 9:44
    
Thanks....I know the syntax and quite fine with it. I had gone through the dive into python book earlier so next step is django, right ?? or i need to learn something else between ? –  Pankaj Upadhyay Nov 3 '11 at 10:35
    
Nothing at all :) –  yati sagade Nov 3 '11 at 11:36
add comment

I tried learning Python for a web project and chose Django because it is fully featured. The only problem is that I managed to plug together a full Django blog site (using Zinnia) without actually learning much Python.

I wouldn't recommend using a web development project as the only way of learning Python unless your going for a pure CGI route. The existence of frameworks and other libraries doesn't actually expose you to much Python code and you'll end up just learning about Django instead of actually learning any real Python.

share|improve this answer
    
You said in the 2nd paragraph what I wanted to say in my answer :) Those of us who have worked with CGI and Python/Perl/Whatnot - We all deserve a Bravery award, don't we? –  yati sagade Nov 3 '11 at 19:16
add comment

You can start from building sample applications using Django,they have very basic app development tutorial.Where you can learn overview of the Django framework.Check that out from here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.