Embed a web browser in a Python program,browser.close()