def press(button):
if button == "Browse":
global videoFile
videoFile = tkFileDialog.askopenfilename()
pathwin.setEntry("Path", videoFile)
elif button == "Submit":
global seconds
seconds = int(pathwin.getEntry("Seconds"))
pathwin.stop()
评论列表
文章目录