Holen Sie sich die Namen der gesamten Datei in einem Ordner mit Python

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