A tool for *nix/OSX/Windows to render HTML and run Terminal/Console
===

I'm kind of in a bind concerning the fact that I can't get any multi-platform GUI working for Python. So I made this output method for my Python Class to make a special HTML output file that does automatic refreshes in the browser and with jQuery keeps all data and positions fresh. This works great, and to get an idea:

 1. Start Python script in IDLE or the Console/Terminal (listening loop)
 2. Open the index.html that is created by the script
 3. The index.html will refresh itself and jQuery will handle all the dynamics to keep the page in the position and view-state as before the refresh (so if the user is browsing through it, he/she won't notice anything, major a very minor flicker sometimes, but thats no problem in this case)
 4. END script: To stop the "artificial App" I just stop the script (in the program used in point 1.)
 5. END index.html: The page will keep refreshing silently, but the user can stop this with a button on the page that will halt the JavaScript (setInterval -> window.location.href)

Ok, so this works great actually. Surprisingly it's light on the CPU and highly customizable :).

I was wondering if anyone knows tools for *nix (Ubuntu will be main supported target system), OSX and Windows to build a native application for the referred system that:

 1. ..can run/stop Terminal/Console scripts (so I can start/stop the Python script in the native GUI)
 2. ..can use a Browser block in the GUI that renders of the native IE/Firefox/Safari system HTML/JS engine.

A little bit like AppleScript does:

    do shell script "python $HOME/Documents/myscript.py"

Then some rendering block that uses the system's main HTML/JS Engine (example in C++-ish style):

    File *pythonHTMLFile = new File(string path_to_index_file);
    HTMLRender *output = new HTMLRender(File pythonHTMLFile.pointer);

Please reformat my question if needed. I'm usually not so good at asking precisely what I'm aiming for :P.