Handy post from Matt over at raspberrypi-spy.
This tutorial will explain how to create a basic site to get you started. Once you’ve got an example working the official documentation can be used to move onto more advanced topics.
I use Python 3 in this tutorial. It should work the same with Python 2 but you will need to replace all references to “python3” with “python”.