TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Getting started with Python for web development

8 pointsby tuhinabout 14 years ago
I am an Interface Designer by profession. Lately I have been trying to teach myself to teach programing language.<p>The only prior experience I have is a bit of C, just enough Php to get through to make WP themes from scratch and just finished the MIT OCW 6.0 along with the book How to Think Like a Computer Scientist.<p>Also I know basic MySQL, thanks to my job as an Analyst for over a year.<p>Now I would like to get started with exposing myself to the part of building apps even if they are the most basic ones. Where should I begin with Web development using Python? (I know Php should have been the logical choice but I am just in love with Python for some reason; seems just <i>right</i> to me than C or Php)<p>A point to note is that I am highly inclined for Pylons framework over Django because a project on which I want to work on later with other serious/experienced programmers requires it due to its sheer scale. I do not expect to be doing the same level of coding as them but at least I can help them when I am done with the design and UX part of the app.<p>Should I go for a basic thing like web.py and learn the building blocks or choose Pylons? Please keep in mind my understanding of server side programming, MVC etc is very limited.

5 comments

swansonabout 14 years ago
I would take a look at Flask. It is great for small applications. Read the quickstart guide (<a href="http://flask.pocoo.org/docs/quickstart/#a-minimal-application" rel="nofollow">http://flask.pocoo.org/docs/quickstart/#a-minimal-applicatio...</a>). Follow the tutorial for making a blog (<a href="http://flask.pocoo.org/docs/tutorial/introduction/" rel="nofollow">http://flask.pocoo.org/docs/tutorial/introduction/</a>).<p>After that you will know how to do URL routing, rendering views/templates, and making database calls -- the backbones of making a web application.
personalcomputeabout 14 years ago
Django and Pylons will both introduce you to a lot of advanced concepts that I would imagine to be very confusing to someone not familiar with programming. I'd recommend you first learn Python more fully before you start working with a framework. In fact, at this point I would recommend practicing with traditional desktop scripts as opposed to anything on the web, but using CGI may actually be a better choice in getting you down the path you want to go faster.
lovskogenabout 14 years ago
I'm also an interface designer, wanting to learn Python to make stuff. We're in the same boat! I'm reading Head First Python, a real newbie book. My knowledge just contains HTML and CSS, so I'm <i>really</i> starting from scratch.<p>Would love to see your progress and learn from it.<p>@lovskogen
评论 #2296925 未加载
elg0nzabout 14 years ago
Actually, you should just do it. The polls tutorial is reply well written, and I am a firm believer that the best way to learn something is by hacking some project out of it. Good luck !
mathnodeabout 14 years ago
I found this quite handy: <a href="http://docs.python.org/howto/webservers.html" rel="nofollow">http://docs.python.org/howto/webservers.html</a><p>I am a cgibin kind of person.