Home > Blockchain >  Is it impossible to create GUI in python without tkinter?
Is it impossible to create GUI in python without tkinter?

Time:04-22

I wanna know, Is it possible to create GUI in python without using tkinter?

CodePudding user response:

Tk isn't technically making the GUI, it's delegating to a C library; and that's exactly what you can do too. For simplicity however, it's pretty much standard to use TkInter, or some other framework (i recommend PySimpleGUI) that takes care of the Tk interaction for you

CodePudding user response:

easygui is the easiest GUI python that I have used. Designs are prebuilt for you already. Examples of easygui can. be found here https://pypi.org/project/easygui/
You can also use Flask where the frontend will be the web browser.

CodePudding user response:

Tcl/Tk is an external library although it comes as part of the standard python install and it is an external library. you can use other framework to do that . Fundamentally, Python can’t talk to any GUI system without an external module. Since the most fundamental GUI libraries on any platform are usually C-based, that requires, at minimum, importing a library like ctypes which itself is minimal and allows you to load system GUI libraries (in dlls or delis, depending on your platform).It is possible, in theory at least, to drive a GUI solely from ctypes, but it’s not very practical .

  • Related