Is there a way to import Python libraries like tKinter? I tried it but it didn't work, maybe i'm stupid. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there a way to import Python libraries like tKinter? I tried it but it didn't work, maybe i'm stupid.

6th Aug 2017, 8:58 PM
coder_extends_human
coder_extends_human - avatar
3 Answers
+ 7
It won't work in SoloLearn as the Code Playground's implementation does not support tkinter. It should go alright on desktop though.
7th Aug 2017, 5:21 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
Are you using python 3? It's included in the standard python 3 distribution, so if this is the case you might just be spelling it wrong when trying to import.
6th Aug 2017, 10:07 PM
Maya
Maya - avatar
+ 1
7th Aug 2017, 4:47 AM
coder_extends_human
coder_extends_human - avatar