Thread: system pause?

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Questioner's home
    Posts
    89
    Rep Power
    12

    system pause?


    What is the equivalent function for system("pause") in python? And which module contains this function?

    Thanks in advance.
    What can change the nature of a man?
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    well the exact equivalent for this would be os.system('pause') which is in the os mdoule. Another way to pause a program would be to use raw_input('textt to display') to pause the program untill the user presses enter and being built-in you don't have to import anything

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo