Answers for "python open all files of type csv"

0

python open all files of type csv

import os
import glob

path = 'c:\\'
extension = 'csv'
os.chdir(path)
result = glob.glob('*.{}'.format(extension))
print(result)
Posted by: Guest on February-10-2021

Code answers related to "python open all files of type csv"

Python Answers by Framework

Browse Popular Code Answers by Language