https://www.sourcepython.com/
https://www.sourcepython.com/viewtopic.php?f=9&t=1032
Syntax: Select all
index = filename.rfind('.')if index > 0: filename = filename[:index]if not filename.endswith('.spr'): filename += '.spr'