I have a list of csv files in mydir.I want to get the list of file names. however using glob as below is returning an empty list.
import glob
mydir = "C:Data"
file_list = glob(mydir + "*.csv")
print('file_list {}'.format(file_list))
See Question&Answers more detail:os