+ 2

Which python modules are available on Sololearn

I was wondering which modules are included in the Sololearn app. I have noticed that some modules such as turtle and tkinter do not work properly while others like time and sys do. I am hoping I can get a list of included modules. Thanks in advance.

18th Feb 2022, 2:19 AM
Connor McCollum
Connor McCollum - avatar
6 Answers
+ 4
Run this in a python file in the playground: help("modules")
18th Feb 2022, 3:13 AM
Simon Sauter
Simon Sauter - avatar
+ 5
All Default Modules Are Available In SL Python. Also, If You Want To Separately Install Modules Then: import os os.system('python3 -m pip install -qq {module name}') Then, You Can Import That Imported Module & Continue...
18th Feb 2022, 3:30 AM
Sancho Godinho
Sancho Godinho - avatar
+ 3
This will list all the packages that are available along with their paths. 👇 https://code.sololearn.com/cNop3KLb1ulb/?ref=app
18th Feb 2022, 8:17 AM
OR!ON 🛡️
OR!ON 🛡️ - avatar
+ 2
Mustafa Ansari import os os.system("python3 -m pip install -qq pillow")
18th Feb 2022, 7:47 AM
Sancho Godinho
Sancho Godinho - avatar
+ 1
Connor McCool this code generates all available modules and then some https://code.sololearn.com/c20FpE7gTXze/?ref=app
18th Feb 2022, 5:02 AM
BroFar - avatar
+ 1
Sancho Godinho, Can you show the example how to install this mudule- pillow
18th Feb 2022, 6:29 AM
Sapling - avatar