+ 5

How to import python library in Sololearn code editor?

I am trying to import Python library in SL editor but code is not being executed.

29th Jun 2022, 1:10 PM
JelenađŸ‡·đŸ‡ș
JelenađŸ‡·đŸ‡ș - avatar
10 Respostas
+ 10
You can import a modul just as usual. If the module is not installed yet, you have to do this before importing: https://code.sololearn.com/ckBJoTlEYWxj/?ref=app
29th Jun 2022, 1:20 PM
Lisa
Lisa - avatar
+ 6
https://code.sololearn.com/c4TvNiOjl3ST/?ref=app no gui libs
29th Jun 2022, 1:20 PM
Slick
Slick - avatar
+ 4
On sololearn playground we cannot use any gui for Python...
29th Jun 2022, 2:21 PM
Lisa
Lisa - avatar
+ 2
29th Jun 2022, 2:47 PM
Mihir Lalwani
Mihir Lalwani - avatar
+ 2
Mihir Lalwani On sololearn playground we cannot "pause" code execution, so sleep() won't work here.
29th Jun 2022, 3:01 PM
Lisa
Lisa - avatar
+ 2
. Try in other editors 👍
1st Jul 2022, 3:14 AM
Angel Arceo
Angel Arceo - avatar
+ 1
I have tried both ways but not working, I am installing pyautogui module.
29th Jun 2022, 2:10 PM
JelenađŸ‡·đŸ‡ș
JelenađŸ‡·đŸ‡ș - avatar
+ 1
Lisa okay
29th Jun 2022, 4:40 PM
Mihir Lalwani
Mihir Lalwani - avatar
+ 1
29th Jun 2022, 4:41 PM
Mihir Lalwani
Mihir Lalwani - avatar
0
I don't know if it's possible
1st Jul 2022, 12:28 AM
Adrian Bagos
Adrian Bagos - avatar