I lost my popup that keep asking for. Do you understand why I keep asking for it? It is to solve a problem. When I double-click whatever the right .py file is, I see a FLASH of black square (my dos command) and then it disappears. I have no clue if there was an error. And no, I do not want to go digging around through a log file every time just to see if it finished without errors.
I tried adding a window onto the program, but dumps out as if it's exiting somewhere and not returning from the call to cli()
I don't understand why I'm having so much trouble following this code.
Here's the code I'm running at the bottom of your make_read_readme.py file
if __name__ == '__main__':
layout = [
[sg.T('Make Real Readme!', font=('ANY 15'))],
[sg.Output(size=(80,12))],
[sg.OK()]]
window = sg.Window('Make Real Readme', layout).Finalize()
cli()
print('Done creating the readme.')
while True:
event, values = window.Read()
if event is None: break
window.Close()
I just about had you trained!
I lost my popup that keep asking for. Do you understand why I keep asking for it? It is to solve a problem. When I double-click whatever the right .py file is, I see a FLASH of black square (my dos command) and then it disappears. I have no clue if there was an error. And no, I do not want to go digging around through a log file every time just to see if it finished without errors.
I tried adding a window onto the program, but dumps out as if it's exiting somewhere and not returning from the call to
cli()
I don't understand why I'm having so much trouble following this code.
Here's the code I'm running at the bottom of your make_read_readme.py file