+ 2
Why this code show error? In Python
How can I get rid from this? https://code.sololearn.com/c0BT7v1ceSc6/?ref=app
5 odpowiedzi
0
import subprocess as sp
import sys
sp.call([sys.executable, '-m', 'pip', '--disable-pip-version-check', '-q', 'install', 'requests'])
import requests as r
print(r.get('https://www.google.com').text[:50])
print('\n\n')
from urllib.request import urlopen as u
print(u('https://www.google.com').read()[:50].decode())
https://code.sololearn.com/cPi04fcE16cu/?ref=app
btw, giving up on C already?
+ 2
By installing the requests module ,best would be to use a real ide like pydroiid for android or termux (like terminal for Android) or visual studio and others ones for windows
+ 1
Yogeshwaran no worries
+ 1
Ok Flash 😊😁