Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to (simply) connect Python to my web site?

Tags:

python

web

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?

like image 278
physicsmichael Avatar asked Dec 18 '22 09:12

physicsmichael


1 Answers

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.

like image 158
Autoplectic Avatar answered Jan 05 '23 05:01

Autoplectic