Python Automation Tutorial | How to Extract File Metadata with Python
ฝัง
- เผยแพร่เมื่อ 4 ต.ค. 2024
- In this tutorial, I cover a lesser known but very interesting small Python automation script. By combining the os.stat() method, building out our own user defined function and creating a clean output with f strings- we'll automatically retrieve file size, last modified timestamp and open up possibility to get a whole host of additional helpful file data.
Enjoy!
🤝 Connect with me on LinkedIn:
/ ja376
🤝 View my Website:
www.matadorsof...
Would you think of providing the Python notebooks for your tutorials?
Yes, it’s something I need to do- I’ll look into setting up a space for this, thanks for the reminder!
These are. py files not notebooks.
@@notoriousft Correct, but I can easily convert to .ipynb files