Uploaded May 2025 | Updated December 2026, 3 hours ago
Have you seen pathlib? If not, once I show you, you will never go back to string paths and os.path ever again! pathlib turns paths into path objects, which have attributes and methods that cover a number of operations. In this talk, we will:
- Talk about how to create Path objects, and how this differs on Windows vs Mac/Linux
- Talk about the many properties of pure paths
- Talk about folder operations from Path objects, such as creating directory structures and recursive globbing.
- Talk about file operations, made simpler with Path objects, such as reading contents, getting properties like file size, and deleting.
Stop messing with string paths and get with pathlib!
Speaker: Josh Schneider
Josh Schneider is an Application Security Engineer, former Test Automation Architect and Engineer, and Customer Support agent extraordinaire. Josh is also a big nerd with 2 kids, and a goofy sense of humor.
View the conference site pytexas.org/2025
Subscribe to our newsletter pytexas.org/newsletter
Have you seen pathlib? If not, once I show you, you will never go back to string paths and os.path ever again! pathlib turns paths into path objects, which have attributes and methods that cover a number of operations. In this talk, we will:
- Talk about how to create Path objects, and how this differs on Windows vs Mac/Linux
- Talk about the many properties of pure paths
- Talk about folder operations from Path objects, such as creating directory structures and recursive globbing.
- Talk about file operations, made simpler with Path objects, such as reading contents, getting properties like file size, and deleting.
Stop messing with string paths and get with pathlib!
Speaker: Josh Schneider
Josh Schneider is an Application Security Engineer, former Test Automation Architect and Engineer, and Customer Support agent extraordinaire. Josh is also a big nerd with 2 kids, and a goofy sense of humor.
View the conference site pytexas.org/2025
Subscribe to our newsletter pytexas.org/newsletter










