+ 6

Python import on sololearn

Hi! Can I use 'import request' or anything another library? Or Sololearn doesn't support that ?

25th Apr 2019, 10:51 AM
Eugene Overchenko
Eugene Overchenko - avatar
9 Answers
+ 6
You should be using standard library here , codeplayground is just for basic learning skills . there are some restrictions for security concerns.
25th Apr 2019, 10:59 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 11
If you are looking for the modules/library that work in codeplayground check out this code https://code.sololearn.com/cNXNY7T1961O/?ref=app
30th Apr 2019, 8:14 AM
Aaditya Deshpande
Aaditya Deshpande - avatar
+ 3
Melih is correct. But you can't use those GUI libraries also. And the 1 and only external library supported in the code playground is numpy
25th Apr 2019, 11:36 AM
Seniru
Seniru - avatar
+ 3
In some cases I used Sympy in Playground with import sympy. It does work. It is a computer algebra system (CAS) in Python. You can find more at: https://www.sympy.org/en/index.html
25th Apr 2019, 11:59 AM
Lothar
Lothar - avatar
+ 2
Are you sure?
25th Apr 2019, 11:05 AM
Eugene Overchenko
Eugene Overchenko - avatar
+ 2
the “list of python modules” shows both regular modules and additional modules. So it’s not easy to figure out additional modules.
30th Apr 2019, 10:54 AM
Lothar
Lothar - avatar
+ 1
Sad pandas!
28th Apr 2019, 10:25 AM
Doorway_Stone_Face
Doorway_Stone_Face - avatar
0
سلا
26th Apr 2019, 3:07 AM
اسد الله یمگانی
اسد الله یمگانی - avatar
0
واو
26th Apr 2019, 3:07 AM
اسد الله یمگانی
اسد الله یمگانی - avatar