Courses
LoginStart now
Courses
LoginStart now
+ 5

What is the difference between quit() and exit(), sys.exit() in python?

They seem to do the same thing. What is the difference between quit(), sys.exit() and exit() in python?

pythonpython3exitquit
15th Jun 2019, 10:56 AM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
1 Resposta
+ 4
https://stackoverflow.com/questions/19747371/JUMP_LINK__&&__python__&&__JUMP_LINK-exit-commands-why-so-many-and-when-should-each-be-used
15th Jun 2019, 11:15 AM
Anna
Anna - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Need a personal tutor
1 Votes
Fix code
0 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
..
1 Votes
How can I turn my .py files to .exe files?
1 Votes
Software to write and run codes
1 Votes
Add lua
0 Votes
How Much RAM is Required for Object Detection Project
0 Votes
Beginner_to_SoloLearn
1 Votes
How to learn C++ and how long does it take
1 Votes