what is tkinter code example
Example 1: tkinter tutorial
from tkinter import *
app = Tk()
app.title("The title of the project")
app.geometry("400x400")
def c():
m = Label(app, text="Text")
m.pack()
l = Button(app, text="The text of the Butoon", command=c)
l.pack()
app.mainloop()
Example 2: python tkinter
import tkinter as tk
obj = tk.Tk()
label = tk.Label(obj, text="This is a text button")
Example 3: what is selenium
- Selenium is a set of libraries that help us automate and interact
with the browsers.
Why Selenium?
- OPEN SOURCE -> FREE
- It supports different types of browsers
- It supports multiple different programming languages
- Huge community behind it so many answers to any problems/questions
- Could run on different OS systems such as: Mac, Windows, Linux etc.
Example 4: python gui
import tkinter as tk
window = tk.Tk()
window.mainloop()
Example 5: what is jupyter
Project Jupyter is a nonprofit organization created to "develop open-source
software, open-standards, and services for interactive computing across dozens
of programming languages".
Spun-off from IPython in 2014 by Fernando Pérez, Project Jupyter supports
execution environments in several dozen languages.
Example 6: how to create tkinter window
import tkinter
master = tkinter.Tk()
master.mainloop()