WordPress Growth Stack Change is a query and reply website for WordPress builders and directors. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
The perfect solutions are voted up and rise to the highest
Requested
Considered
7 occasions
import re
import urllib.request
#https://www.weather-forecast.com/places/Dublin/forecasts/newest
metropolis =enter(“Enter your metropolis:”)
url = “https://www.weather-forecast.com/places/”+ metropolis +”forecasts/newest”
information = urllib.request.urlopen(url).learn()
data1 = information.decode(“utf-8”)
print(data1)
1
default