1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Exiting from python Command Line

Discussão em 'Python' iniciado por Stack, Setembro 12, 2024.

  1. Stack

    Stack Membro Participativo

    To exit from Python command line, I have to type exit(). If I type exit, it says

    Use exit() or Ctrl-Z plus Return to exit


    Usually when you type exit, you would want to exit the program. Why does the interpreter give me the above error when it knows I am trying to exit the command line? Why doesn't it just exit? I know it doesn't matter and its a silly question but I am curious.

    Continue reading...

Compartilhe esta Página