on
laravel
- Get link
- Other Apps
Code:
from tkinter import *
window = Tk()
window.title("Canvas text")
window.geometry("1500x750")
window.resizable(False, False)
canvas = Canvas(window, width=1500, height=750, bg = 'green')
canvas.create_text(330,100,fill="white",font="Times 20 italic bold",
text="This is my text")
canvas.pack()
window.mainloop()
OUTPUT
Comments
Post a Comment
If you any doubt of any topic then you can comment me.