I want to create one application and it should work on both desktop (without internet connection) and in the web. The applications should be the same (I mean UI and code) and wo
Take a look at Pyjs for the UI. The server will still be your problem though.