I want to list the files in a folder using os.listdir
in Python but it does not return anything. The code I made:
import os
def rename_files():
# (1) obter nomes de arquivos de uma pasta
file_list = os.listdir(r"C:\FotosUdacity\prank")
rename_files()