python webbrowser.open(url)

Posted by Gert Cuykens on Stack Overflow See other posts from Stack Overflow or by Gert Cuykens
Published on 2010-04-14T01:02:39Z Indexed on 2010/04/14 1:13 UTC
Read the original article Hit count: 462

Filed under:
httpd = make_server('', 80, server)
webbrowser.open(url)
httpd.serve_forever()

This works cross platform except when I launch it on a putty ssh terminal. How can i trick the console in opening the w3m browser in a separate process so it can continue to launch the server?

Or if it is not possible to skip webbrowser.open when running on a shell without x?

© Stack Overflow or respective owner

Related posts about python