You can start by sifting through these applications, and if you find one that comes close to what you want to do,
download the source code to get an idea of what you need to do: https://pypi.python.org/pypi?%3Aaction=s...mit=search
I do very little web work, but I hear great things about Flask (which is a python package).
download the source code to get an idea of what you need to do: https://pypi.python.org/pypi?%3Aaction=s...mit=search
I do very little web work, but I hear great things about Flask (which is a python package).