I recently had the idea of using a browser as desktop UI (user interface). I have used wxpython for most desktop UI in the past, but I was working on an application that was very closely related to the internet. I had to do a lot of searching and testing until I found a solution that was well documented and actually worked. Let me introduce my working solution:
CherryPy, Mako, py2exe and GccWinBinaries
CherryPy is a minimalistic python web framework that allows for a very simple server implementation on your clients system. Make sure you check out the cherryPy tutorials. You can find them at: python_path\Lib\site-packages\CherryPy-version.egg\cherrypy\tutorial.
GccWinBinaries was necessary for me because I was getting an error message “error: MSVCP90.dll: No such file or directory“.
You can find a simple application of a browser as desktop UI in the cherrypy wiki. The example is including the setup.py file for the py2exe compilation.
I hope this article was able to get you started to use your browser as desktop UI! Happy coding.
Solving problems is what makes me happy.
Contact me for your custom WordPress solution.
Latest posts by Schurpf (see all)
- WordPress Homepage Pagination Problem with WP-PageNavi - March 14, 2013
- Return first paragraph as excerpt | Excerpt-first-paragraph - January 26, 2013
- Horizontal Aweber Form | Using CSS - October 23, 2012