Which Python 3 modules can I use in the SL code playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which Python 3 modules can I use in the SL code playground?

Some Python modules don't seem to be available in the SL code playground. Is there a list of all the modules supported by the code playground? Is there a way to add other modules?

17th Jul 2018, 4:39 PM
Satyam
7 Answers
+ 3
I think you can find some special built-in function which output available modules here🌻🌻🌻
17th Jul 2018, 4:55 PM
Tzurumi Nakato
+ 3
This sort of seems to do it: print(help("modules")) I thought it didn't work because I could not find numpy. But there seems to be a problem with that module. The statement times out sometimes .
17th Jul 2018, 6:56 PM
Paul
Paul - avatar
+ 3
Now I know. turtle uses tkinter. And that is not available.
18th Jul 2018, 4:39 AM
Paul
Paul - avatar
+ 3
Ok, I realized why turtle doesn't work. The turte module needs tkinter and the SL Python Code Playground doesn't support it. Edit: Paul Jacobs Great minds think alike and sometimes at the same time!
18th Jul 2018, 4:40 AM
Satyam
+ 2
No, I don't know. But I know you can't make graphical output with python on Sololearn.
18th Jul 2018, 4:33 AM
Paul
Paul - avatar
+ 1
do you know the function?
17th Jul 2018, 4:56 PM
Satyam
+ 1
I want to work with this module called turtle (I am planning to install it on my PC's Python IDE next). And according to the command you gave me, that module exists. But 'import turtle' gives me an error. Do you know why?
18th Jul 2018, 2:39 AM
Satyam