Hello, I'm doing a course in Udacity and this simple code works good on the instructors video, he's using windows. I don't see why It doesn't work on ubuntu. I already made sure that that's the current link to the files.
import os
def rename_files():
#(1) get files names from a given folder
file_list = os.listdir("/home/jesus/Downloads/prank/prank")
print(file_list)
Thanks for the help!
Bookmarks