Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #open #files #type #csv
ADD COMMENT
Topic
Name
3+3 =