Thursday, January 17, 2019

extract filename from path

print(os.path.basename(your_path))
Reference

No comments:

Post a Comment