October 29, 2024 at 10:01 am
#201635
osuteye
Participant
Initial when I run the script I had the message
ERROR
import requests
ModuleNotFoundError No Module name ‘reques
Then I run this commmand at the terminal to install the request mudole
pip install requests
this is before I run the script again.
This is the script
# usr/bin/env python
import requests
url=”google.com”
get_response = requests.get(“https://”+url)
print(get_response)