import pandas as pd
import glob
path = '/home/[user]'
filename = glob.glob(path + '/foo_*.txt')
print(filename[0])
df = pd.read_csv(filename[0])
print(df)
Read a file in python starting with a particular string