Pause - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Pause

yamahaCalyamahaCal Posts: 16Member
When I make a program and run it in the DOS console after it does what it is programmed to do the window closes, how can I keep it open? I know in C++ it is system("PAUSE").

Thanks

Comments

  • infidelinfidel Posts: 2,900Member
    : When I make a program and run it in the DOS console after it does what it is programmed to do the window closes, how can I keep it open? I know in C++ it is system("PAUSE").
    :
    : Thanks
    :

    import os
    os.system("pause")


    [size=5][italic][blue][RED]i[/RED]nfidel[/blue][/italic][/size]

Sign In or Register to comment.