How to import python library in Sololearn code editor? | Sololearn: Learn to code for FREE!

+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.

6/29/2022 1:10:07 PM

Jelena🇷🇺

10 Answers

New Answer

+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

+6

https://code.sololearn.com/c4TvNiOjl3ST/?ref=app no gui libs

+4

On sololearn playground we cannot use any gui for Python...

+2

https://code.sololearn.com/c26lYGMTNsy2/?ref=app Lisa please help in this one too...

+2

Mihir Lalwani On sololearn playground we cannot "pause" code execution, so sleep() won't work here.

+2

. Try in other editors 👍

+1

I have tried both ways but not working, I am installing pyautogui module.

+1

Lisa okay

+1

MATOVU CALEB okay

0

I don't know if it's possible