![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Posts: 56
Rep Power: 3
![]() |
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 . |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Oct 2005
Posts: 56
Rep Power: 3
![]() |
Nvm , i think i got it ..sry for the trouble .
|
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
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.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|