You can use framework like Django, FLask, web2py, CherryPy, etc. You can use any one of them as per your work.