app/utils/title.py

6 lines
102 B
Python
Raw Normal View History

2024-04-19 16:59:43 +00:00
import os
2024-04-19 20:02:44 +00:00
2024-04-19 16:59:43 +00:00
def Title(title: str):
2024-04-19 20:02:44 +00:00
return str(os.path.basename(title)).replace('.py', '').title()