how to import tkinter | Sololearn: Learn to code for FREE!

+2

how to import tkinter

import tkinter m=Tkinter.Tk() m.mainloop() used this but not working Error:No such file or directory (used sololearn editor)

4/15/2020 4:43:09 PM

PRATHIK

7 Answers

New Answer

+6

Sololearn doesn't support Tkinter yet. Meanwhile, you can use Pydroid 3 which has good support for GUI libs. Works pretty well. https://play.google.com/store/apps/details?id=ru.iiec.pydroid3

+1

tkinter might not work in Sololearn!

+1

It doesnt work in solo learn. Havent been able to make it work on mobile myself through any means I know of. If you find out please share

+1

Make sure first if the tkinter library exist

+1

Ok tkinter does work on pydroid 3 ,I just ran a sample ,maybe my code was wrong that's why I was getting other error with IDE one ,so pydroid 3 is the app to go for if anyone wanna use tkinter

0

Can i know where did you tried, sololearn code editor or other editor?

0

sololearn