Hi all,
I found the solution in the end :
I found the solution in the end :
try: imageView['imageview'].update(filename = (r'your path\\yourimage'+".jpg")) while True: event,values = imageView.read() if event == sg.WIN_CLOSED: break except: sg.popup("Image not found")
while dad_has_cigs == True: happiness = True if dad_has_cigs == False: print("Dad come home!") happiness = not happiness break