pythonHow to terminate a script
Usage example
print('a')
quit();
print('b')
output
a
More of Python
- One-liner calculator
- How to split string by length
- How to list content of the folder
- How to import class from another folder
- How to execute python file
- How to get day from date
- How to generate a random secret key in hexadecimal
- Transform camel case to snake case
- How to get yesterday's date
- How to get class name of an object
See more codes...