Answer by Luis M. Gonzalez:
If you decided to learn Python, please forget about web development for a while and concentrate in learning the language first. Python is easy to pick up, but you must stand on your feet before you start to run.
Python is an easy, flexible and powerful programming language which can be used as a general purpose programming language (and it’s a very good language for web development as well), but you must understand that in order to become a web developer you must learn several different skills besides python.
The first basic skill you must learn is HTML. HTML is the markup language of the web. All web pages are created with HTML, which defines the different elements contained in a web page. Then you should learn CSS, which is another little language that defines the way each HTML element looks within a page (its color, the font type, its position on the page, etc).
That means that you will have to write code that will be run in a remote server rather than in the browser.
Python will let you talk to the database or datastore, perform queries, retrieve information and format the output to your web page.
Yes, and many web sites work this way. But you would be limiting yourself (and your website usability).
Think about it:
But code written on the server side may give you more security and scalability, so both sides should be mastered to become a competent web developer.
As for web development frameworks:
Again, please first stand on your feet… When you reach the moment where you find yourself needing a framework, you will probably find out that you can get by with a simpler solution rather than Django. Django lets you create the whole structure of your website on the server side.
My advice: Forget about all these things, get a good python tutorial and learn it (and enjoy it!) before looking at all the other technologies you will need.