+ 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?
4 ответов
+ 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 ^^
+ 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
+ 1
Brython and turtle are possible