Получить имена всего файла в папке с помощью Python

mylist = [f for f in glob.glob("*.txt")]
Courageous Cobra