keep python window open after error code example Example: python dont exit script after print input("Press enter to exit ;)")