0

How can I download python module in sololearn

PYTHON

14th Nov 2022, 4:04 PM
Aafiya Naz
Aafiya Naz - avatar
3 Respostas
+ 3
Hi, Aafiya Naz ! Just use import. To import the random module: import random
14th Nov 2022, 4:10 PM
Per Bratthammar
Per Bratthammar - avatar
+ 2
Try this to download any module in sololearn, but not module with interface like PyQt5: import os os.sysytem("pip -qq install <module name> ") import <module name> https://code.sololearn.com/cuD06r3dQlua/?ref=app
14th Nov 2022, 4:39 PM
Samuel Hayden
Samuel Hayden - avatar
0
https://code.sololearn.com/cXDjL2FcYNuB/?ref=app See the how many packages are already in Sololearn and then import
14th Nov 2022, 5:11 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar