Mastering Python: How to Generate a List of Dictionaries for Files in Your Working Directory with One Script

Terminals & Coffee
5 min readApr 5, 2023
https://build5nines.com/get-started-with-python-scripting/

Scenario: You’re a cloud engineer, and you have excellent coding skills! So, your company comes to you and tells you they need to learn about the files located on various machines. You have been asked to build a script that extracts information such as the name and size of the files in the current working

--

--