• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 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 Odpowiedź
+ 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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Functions in python
2 Votes
HTML
1 Votes
For Mobile app
0 Votes
What’s the One Thing That Helped You Learn Coding Faster?
2 Votes
I need advice
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
0 Votes
Answer please
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
I need advice
0 Votes
Why this code fails even without data race
0 Votes