+ 1

Is there anyway to run GUI programs in Sololearn?

For the past few months I am learning tkinter GUI module in Python. So I will try out some codes here(sololearn code section) while I run it it shows import Error so how can I able to import such module and run the program?

2nd Jun 2021, 5:50 AM
HEMANTHKUMAR P B
HEMANTHKUMAR P B - avatar
4 Réponses
+ 3
no, you cannot... as code playground compile/execute scripts at server side, sending input asked to user before execution and returning captured output as text ^^
2nd Jun 2021, 5:53 AM
visph
visph - avatar
+ 2
You can do this with web codes. Brython and Skulpt are javascript libraries that transpile python code to JS. A few examples, but you can find many more in playground search: https://code.sololearn.com/WzWJI1lw02MY/?ref=app https://code.sololearn.com/W5v76nCjupV7/?ref=app https://code.sololearn.com/W5AkfURLIyrp/?ref=app
2nd Jun 2021, 8:51 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Brython and turtle are possible
2nd Jun 2021, 6:46 AM
Oma Falk
Oma Falk - avatar