Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 16 Online
OpenStudy (anonymous):

Python opens as soon as it closes...help me! Code is available here: paulienet.coffecup.com/storage/file.txt

OpenStudy (anonymous):

I can't open that link. And also, I notice it's a .txt file. Try to make it a .py file instead.

OpenStudy (anonymous):

as the last line, enter w = raw_input() it will then wait for keyboard entry before closing

OpenStudy (anonymous):

I found that this works as your last line. raw_input('Press Enter to exit')

OpenStudy (anonymous):

The page cannot be displayed

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!