import urllib
fun open():
return urllib.urlopen('http://example.com')
但是当 example.com 打开时,它不会呈现 CSS 或 JavaScript。如何在网络浏览器中打开网页?
@error(404)
def error404(error):
return webbrowser.open('http://example.com')
我正在使用瓶子。给我错误:
TypeError("'bool' object is not iterable",)