Hi Mehdi Doubiani
Thank you for your response🙂,

Yes you are right, the / , :characters can be replaced with replaceand it should work fine:

file_name = f”{row.loc[‘Book Title’]}_{row.loc[‘Edition’]}”.replace(‘/’,’-’).replace(‘:’,’-’)

I will also update the code in the article. 🙂

Joe

M.Sc. in Photogrammetry and Geoinformatics. 📚LinkedIn: https://www.linkedin.com/in/thunyatheps/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store