This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
class Example(tk.Frame): | |
def __init__(self, parent): | |
tk.Frame.__init__(self, parent) | |
# create a prompt, an input box, an output label, | |
# and a button to do the computation | |
self.prompt = tk.Label(self, text="Unesite neki broj: \n Klikom na 'Provjeri' program će \n provjeriti je li prost", anchor="w") | |
self.entry = tk.Entry(self) |