pythonHow to terminate a script
Usage example
print('a')
quit();
print('b')
output
a
More of Python
- How to split string by space
- How to merge two lists
- How to split string by length
- How to remove specific file
- How to swap two variables values
- How to open CSV file
- How to get minutes from datetime
- Join list elements into string
- How to view object attributes
- How to format datetime
See more codes...