import os def Title(title: str): return str(os.path.basename(title)).replace('.py', '').title()