0
guys my code is giving me a type error even though i ve converted required items to string
3 RĂ©ponses
+ 2
Try using raw strings. You may be having an issue do to spaces in the directory names etc. You should also be able to use forward slashes or backslashes.
r'./american date files'
r'E:/pranil/python/automate the boring shit/american date files'
Otherwise, what is the exact error you're recieving when running the code?
0
đđąđąđđš đđĄđđČđđ„ plz help bro
0
ChaoticDawg this is the exact error
TypeError: rename: src should be string, bytes or os.PathLike, not list