+ 1

Which Python modules can be used in Sololearn?

Which Python modules can be imported in Sololearn from the playgrounds? Is there a list available from Sololearn?

13th Aug 2023, 11:49 AM
Niels F 🇩🇪 <html challenger>
Niels F 🇩🇪 <html challenger> - avatar
4 ответов
+ 7
You can just run help('modules') https://code.sololearn.com/crdUo9y010lD/?ref=app
13th Aug 2023, 12:03 PM
Keith
Keith - avatar
+ 7
Keith Driscoll Your code lists the modules which are commonly part of the python environment. But these are not in particular the modules which are possible to use in the sololearn code playground. I have processed the output of help('modules') here https://code.sololearn.com/ciWYqQ2pC5c7/?ref=app where all modules are listed in alphabetical order. There are also mentioned the modules - tkinter (pos. 330) - turtle (pos. 340) and I can tell for sure that they are not supported in sololearn's code playground because of the lack of support of guis.
13th Aug 2023, 1:43 PM
Jan Markus
+ 3
@Keith Driscoll Good first reaction but does not fully answer my question. There are several modules listed with help('modules') which are are not importable in the Sololearn Playgrounds for example tkinter. Here you can see it yourself: https://code.sololearn.com/cPXkgVoqrALm/?ref=app
13th Aug 2023, 3:43 PM
Niels F 🇩🇪 <html challenger>
Niels F 🇩🇪 <html challenger> - avatar
+ 2
Niels F 🇩🇪 <html challenger> , This seems related. I don't think it answers your question, but I wanted to pin it to the thread. https://code.sololearn.com/c5yIif2Zm9vu/?ref=app
20th Sep 2023, 12:16 PM
Rain
Rain - avatar