All public logs
Jump to navigation
Jump to search
Combined display of all available logs of rbachwiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 17:41, 24 March 2023 Bacchas talk contribs created page Rename files using excel as source template (Created page with "<pre> import os import pandas as pd import shutil os.chdir('C:\\Users\\bacchas\\Downloads\\test') data = pd.read_excel(r"rename.xlsx") orginal = "C:\\Users\\bacchas\\Downloads\\test\\original" dest = "C:\\Users\\bacchas\\Downloads\\test\\img" old = data['oldname'] new = data['newname'] for (old, new) in zip(old,new): full_file_name = os.path.join(orginal,old) full_file_name_old = os.path.join(dest,old) full_file_name_new = os.path...")