Posts by Dev Python e Java • 11 points
2 posts
-
0
votes2
answers865
viewsA: Python - Pysimplegui - Program error when finished
The most critical error was the lack of command: if event == sg.WIN_CLOSED: break This command closes the window in (X) without error! Also does not go with this other guy there,kivy is much more…
-
1
votes2
answers120
viewsA: cmd closing when using the cls/clear command
I guess you forgot to call clear() at the end of the script! Mine worked just fine! So I did: import os import platform def limpar(): if (platform.system() == 'Windows'): os.system('cls') if…