Take a look at PyJavascriptCore and the PyGTK Webkit implementation which will let you make an application in HTML, CSS, and Javascript. For the backend you can either use Python since with PyJavascriptCore you can call Javascript functions from Python and vice versa, or you can combine with a WSGI framework like Flask to do Ajax calls to the app's local server.