pull/51/head
kaluwedana 2021-10-01 15:46:43 +05:30
parent be53fe28d7
commit 30ebc0038f
1 changed files with 1 additions and 2 deletions

View File

@ -7,5 +7,4 @@ for i in subdir:
end_dir = os.listdir(path) end_dir = os.listdir(path)
for i in range(len(end_dir)): for i in range(len(end_dir)):
newname = end_dir[i][0:50] newname = end_dir[i][0:50]
os.rename(os.path.join(path, end_dir[ os.rename(os.path.join(path, end_dir[i]), os.path.join(path, newname))
i]), os.path.join(path, newname))