1,效果
2,代码

from tkinter import *
import time
class FloadWindow(object):
def __init__(self, shape, locate):
self.wnd = Tk()
s_shape = str(shape[0])+'x'+str(shape[1])
s_locate = '+' + str(locate[0]-shape[0]) + '+' + str(locate[1])
self.wnd.overrideredirect(True)
path = ['camera_1', 'camera_2', 'camera_3', 'camera_4', 'camera_5', 'camera_6']
for i in range(len(path)):
label = Label(self.wnd, text=path[i])
label.place(x=0,y=i*15+5)
for width in range(0, shape[0], int(shape[0]/20)):
time.sleep(0.01)
self.overturn((width, shape[1]), locate)
def overturn(self, shape, locate):
s_shape = str(shape[0])+'x'+str(shape[1])
s_locate = '+' + str(locate[0]-shape[0]) +