+ 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.
6 Respostas
+ 4
Run this in a python file in the playground:
help("modules")
+ 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...
+ 3
This will list all the packages that are available along with their paths. 👇
https://code.sololearn.com/cNop3KLb1ulb/?ref=app
+ 2
Mustafa Ansari
import os
os.system("python3 -m pip install -qq pillow")
+ 1
Connor McCool
this code generates all available modules and then some
https://code.sololearn.com/c20FpE7gTXze/?ref=app
+ 1
Sancho Godinho,
Can you show the example how to install this mudule- pillow