pythonHow to terminate a script
Usage example
print('a')
quit();
print('b')
output
a
More of Python
- One-liner if else
- Combine 2 csv files using ID column
- Combine multiple txt files into one
- Remove duplicate lines from text file
- One-liner calculator
- How to validate xml
- How to swap two variables values
- How to get hour from datetime
- How to get minutes from datetime
- How to open CSV file
See more codes...