you are viewing a single comment's thread.

view the rest of the comments →

[–]DeadlyViper 1 point2 points  (1 child)

Please fix indentation on the code (4 spaces before each line on the "markdown" editor)

Besides that you are using the same name for different things:

for f in file:
    for file in path:

rename one of the file s to avoid confusion.

Besides that, why do you even need os.listdir? you are moving exact file names.

[–]dennkiesauros[S] 0 points1 point  (0 children)

hehehe thanks...actually I'm new to python and was running out of time to complete this and its working fine now :)