[Tutor] building a website with python

Don Jennings dfjennings at gmail.com
Wed Apr 10 04:03:27 CEST 2013


On Apr 9, 2013, at 5:31 PM, Benjamin Fishbein wrote:

> Hello. I learned Python this past year (with help from many of you) and wrote many programs for my small business. Now I want to build a website. I acquired the domain name through godaddy.com (bookchicken.com) but have not found hosting yet.
> I learned html, css, and javascript via codeacademy.org, but have never built a website.
> I would like to build it with Python,

So, are you really just wanting to use python to build a static site? If so, you can run a python web framework on your local machine and then deploy the static files to any decent host you find. For example, there are instructions for setting up this scenario using flask, jinja2 and markdown[1]. If you have experience with ReStructuredText (here's a comparison of the two markups [2]), it's fairly easy to use docutils to produce the html files.
 
> and was wondering if you could give me some pointers about what I need to learn first: Django is the thing to use? And do I need specific hosting to use python or are all hosts basically the same.

If you do want python web apps, I've had pleasant results from webfaction.com (though I don't do anything terribly difficult :>).

You've gotten some good feedback, but I suspect you will get better information if you provide more information about your goals for the site.

Take care,
Don

[1] https://nicolas.perriault.net/code/2012/dead-easy-yet-powerful-static-website-generator-with-flask/
[2] http://www.unexpected-vortices.com/doc-notes/markdown-and-rest-compared.html


More information about the Tutor mailing list