Computer Aided Automation

Full Version: Getchar in Python to show output window open untill press a key
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A simple method to keep python output window open to display the results, until user presses a key - for python sample programs (beginner tutorials)

add below code at the end

raw_input("Press enter to exit ;)")
or simply useĀ