Question

I've been playing with Python for a while and wrote a little program to make a database to keep track of some info (its really basic, and hand written). I want to add the ability to create a website from the data that I will then pass to my special little place on the internet. What should I use to build up the website? After dabbling with Django, I've found it overkill and over my head, but if that's the only option I'll learn to use it.

Does anyone know an easy way to output a database of arbitrary format to one or more HTML (or different format) files?

Was it helpful?

Solution

I would generate a page or two of HTML using a template engine (Jinja is my personal choice) and just stick them in your public_html directory or wherever the webserver's root is.

OTHER TIPS

Generating static HTML is great, if that works for you go for it.

If you want a dynamic website and the ability to update, web.py might work for you. Simpler than Django and stand-alone (although just about everything I start in web.py eventually gets rewritten as a Django app...)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top