There's a Python library for this called "remi"[1]: REMote Interface library. It's amazing how well it works. We've been playing around with it on repl.it because we have a lot of users asking for GUI.
I recently built a TicTacToe game[2] in it in the fraction of the time it would take me just to setup a webapp. It's pretty impressive and goes to show how badly setup the web is for apps.
[1]: https://github.com/dddomodossola/remi
[2]: https://repl.it/talk/share/Tic-Tac-Toe-in-remi-a-cross-platf...