pythonHow to terminate a script
Usage example
print('a')
quit();
print('b')
output
a
More of Python
- How to swap two variables values
- Combine multiple txt files into one
- How to split string by space
- How to use proxy
- How to add an element to the list
- How to get data from Mysql
- How to set environment variables
- How to get yesterday's date
- How to get minutes from datetime
- One-liner if else
See more codes...