The Python 'open' function replaces 'window.open'. So it is no more possible to open windows in JavaScript.