My first GUI on Python using tkinter
This is my first code to plot graphic user interface
import tkinter as tk
from tkinter import Canvas, Frame, filedialog, Text
import os
root = tk.Tk()
Canvas = tk.Canvas(root, height = 600, width = 400, bg = "#3df554")
Canvas.pack()
Frame = tk.Frame(root, bg="#3df444")
Frame.place(relwidth=0.8, relheight=0.8, relx=0.1)
root.mainloop()
Comments
Post a Comment