Python: Iterate through all files in a folder

preview_player
Показать описание
Read all the files in a folder with Python

Рекомендации по теме
Комментарии
Автор

How could I read data from each file? I meant, if each file has the same format, how do I read data in first row in first file? Would there be a loop?

nuocviet
Автор

Does it have the be the absolute path? Or can it be the relative path?

jackdavis
Автор

What if I want to load the iterated files into a database

kingp
Автор

Thanks You for this content, it's usefull, maybe try to use some tool to zoom up the screen. it's hard to see the code.

rafaelrincon