0
I want to list the files of a folder using the os.listdir
in Python but returns nothing. 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()
There is a complete help with several examples in this post
– britodfbr