Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2022 10:31 AM
I managed to solve it using the code below.
thank's
if split[1]=='.COMPANYCSV':
os.rename(files,files.replace("K3241", "COMPANY"))