Skip to main content
added 1 characters in body
Source Link
larsks
  • 318.2k
  • 49
  • 474
  • 482

From sys import exit:

from sys import exit exit() 

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.

From sys import exit:

exit() 

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.

from sys import exit exit() 

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.

added 5 characters in body
Source Link
Jérôme Verstrynge
  • 59.9k
  • 97
  • 297
  • 469

fromFrom sys import exit:

exit()

exit() 

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.

from sys import exit

exit()

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.

From sys import exit:

exit() 

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.

Source Link
cleg
  • 5.1k
  • 5
  • 38
  • 52

from sys import exit

exit()

As a parameter you can pass an exit code, which will be returned to OS. Default is 0.