how to open a website in python
import webbrowser
webbrowser.open('https://www.google.co.uk/')
how to open a website in python
import webbrowser
webbrowser.open('https://www.google.co.uk/')
python open link in browser
import webbrowser
webbrowser.open_new('http://www.facebook.com')
how to read a website in python
import urllib.request
try:
with urllib.request.urlopen('http://www.python.org/') as f:
print(f.read().decode('utf-8'))
except urllib.error.URLError as e:
print(e.reason)
print('i thik this is how u do it')
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us