16
Moderator
#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


0
Junior Member
#2
or simply useĀ 
Code:
input()
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)