How to list the csv files in a folder using Python on April 07, 2021 Get link Facebook X Pinterest Email Other Apps #get csv list in a folderimport osn = 1arr = os.listdir()print(" > CSV files in your folder:")for i in arr: if i[-4:]==".csv": print (" (",n,")",i) n = n+1 Comments
Comments
Post a Comment