Notes

Python

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

Python Pathlib Tutorial: Path, Glob, Read and Write
Coding tips

Python Pathlib Tutorial: Path, Glob, Read and Write

Python's pathlib module gives you object-oriented filesystem paths: join them with the / operator, read and write text with read_text and write_text, create directories with mkdir, and find files with glob and rglob.

October 18, 2026 · 12 min read · 20 views

0%