BCRS.png Dimensions: 1440 x 960
Screenshot.png
from tkinter import *
from time import sleep
win = Tk()
win.geometry("1355x800-10+0")
pic2 = PhotoImage(file="BCRS.png")
lblSchoolPhoto = Label(win, image=pic2)
lblSchoolPhoto.place(x=0, y=0)
dummyStr = "*" * 200 # To provide background
lblBackground4Ticker = Label(win, text=dummyStr, bg="yellow", fg="yellow", font=("Helvetica", 40, "bold"))
lblBackground4Ticker.place(x=0, y=630)
s = "WELCOME TO THE VIRTUAL OPENING OF BCRS CLASS XI, 2021-22"
lblTicker = Label(win, bg="yellow", text=s, font=("Helvetica", 40, "bold"))
while True:
X = 1400
while X > -1900:
lblTicker.place(x=X, y=630)
sleep(.05)
win.update()
X -= 5
win.mainloop()
No comments:
Post a Comment