Fix for *args crash in python 3.4. Had no idea was broken. OpenCV window sizing, Fix for tables in cookbook

This commit is contained in:
MikeTheWatchGuy 2018-09-06 21:30:26 -04:00
parent 30f964f6a9
commit 630f321fa3
3 changed files with 17 additions and 10 deletions

View file

@ -14,7 +14,8 @@ Until then enjoy it working somewhat slowly.
def main():
filename = sg.PopupGetFile('Filename to play')
filename = 'C:/Python/MIDIVideo/PlainVideos/- 08-30 Ted Talk/TED Talk Short - Video+.mp4'
# filename = sg.PopupGetFile('Filename to play')
if filename is None:
exit(69)
vidFile = cv.VideoCapture(filename)
@ -31,7 +32,7 @@ def main():
[sg.ReadFormButton('Exit', size=(10, 2), pad=((600, 0), 3), font='Helvetica 14')]]
# create the form and show it without the plot
form = sg.FlexForm('Demo Application - Embedding Matplotlib In PySimpleGUI', no_titlebar=True)
form = sg.FlexForm('Demo Application - Embedding Matplotlib In PySimpleGUI', no_titlebar=True, location=(0,0))
form.Layout(layout)
form.ReadNonBlocking()