So I know I can make Python executable using
If you are running the executable just by double clicking, try running it from console. For e.g. in Windows:
In cmd, run
A better way would be to introduce logger so that other modules with logging implemented can write to files.
Also, you can put the code in try-except block:
try: #my_code_here print('Here is where the exception is') except Exception as e: print('Unexpected error:' + str(e))