Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getchar in Python to show output window open untill press a key
#1
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

Code:
raw_input("Press enter to exit ;)")
Reply
#1
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

Code:
raw_input("Press enter to exit ;)")
Reply
CAA


Forum Jump:


Users browsing this thread: 2 Guest(s)