GUI in Python, how?

Hello,

try to learn more stuff, how to create userinterfaces?

import tkinter

def ende():
    main.destroy()

main = tkinter.Tk()

b = tkinter.Button(main, text = "do not import .dwg", command = ende)
b.pack()

main.mainloop

which libraries do i need?
need i an “OUT = []”

KR

Andreas

Not sure about tkinter
But if you are trying to put up a button for Yes/No, then this might help:

1 Like

actually i would like to make somethink like a welcome button embedded in a costum node(dyf), with company logo, and links to tutorials, standards a.s.o. - thank you i will check!

You should check out the links here as they can provide some helpful tips on using Winforms in python.

1 Like