python code, browser as gui