Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 23rd, 2005, 11:05 PM   #1
Gunman
Programmer
 
Gunman's Avatar
 
Join Date: Oct 2005
Posts: 56
Rep Power: 3 Gunman is on a distinguished road
How to stop the screen frm closing ?

Hey i was just reading "Beggie_B" python tutorial and found it useful . Just a small part that i dont get .

bloop = 20
bleep = 30
print bloop + bleep
print bloop * bleep
print bleep / bloop
print bleep % bloop
print bleep - bloop

How do i stop the screen frm closing , like in C++ theres " system("pause") " .
Thanx for help .
Gunman is offline   Reply With Quote
Old Oct 24th, 2005, 12:21 AM   #2
Gunman
Programmer
 
Gunman's Avatar
 
Join Date: Oct 2005
Posts: 56
Rep Power: 3 Gunman is on a distinguished road
Nvm , i think i got it ..sry for the trouble .
Gunman is offline   Reply With Quote
Old Oct 26th, 2005, 6:50 PM   #3
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Just in case you haven't - `raw_input()` will do the job. You normally want to invoke your Python applications from the terminal if you're just starting up, though.
Cerulean is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:53 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC