Good night I'm new to Python programming but I created this code using os.listdr and did not return any results from the files inside the folder. If anyone has any idea how to solve thank you very much. follow the code:
import os
def rename_files():
#(1) Obter nomes de arquivos de uma pasta
file_list = os.listdr(r"C:\Users\Deivid\Pictures\Imagens\prank")
print (file_list)