+ 1

Can we import third party modules in python in Sololearn.If yes how do we do it....?

Python

18th Aug 2020, 3:55 AM
Otieno Ian
Otieno Ian - avatar
1 Resposta
+ 7
Yes you can install third party module in sololearn -: Simply write the code def install(m): import os os.system("pip install -q "+m) install("requests") import requests x=requests.get("https://www.sololearn.com") print(x)
18th Aug 2020, 4:09 AM
Akash Agrawal
Akash Agrawal - avatar