Hot: pathlib, Not: string paths (Josh Schneider) - PyTexas 2025 @PyTexas
Hot: pathlib, Not: string paths (Josh Schneider) - PyTexas 2025  @PyTexas
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
Hot: pathlib, Not: string paths (Josh Schneider) - PyTexas 2025Reducing the Oops Factor: Pipelines for Securing Python Development (Simon Merrick) - PyTexas 2025DAY 2 Keynote (Hynek Schlawack) - PyTexas 2026There’s a Snake in the Birdhouse! Building a Python Culture at Vrbo (Mason Egger)Developing a Security Mindset: Practical Lessons for Pythonistas (Hayley Denbraver)Behind the Magic: Unlocking Pythons Descriptor Protocol (Scott Irwin) - PyTexas 2026Day 2 Keynote (Jay Miller) - PyTexas 2025A Build Engineer in a buildless lang (Joshua Cannon) - PyTexas 2023Improving code without losing your mind (Chris May) - PyTexas 2023Jacob Barhak - The Reference Model: A Decade of Healthcare Predictive Analytics (PyTexas 2017)Mike Sarahan - Packaging Voodoo Revealed (PyTexas 2017)Rachel Brynsvold - Literary Analysis via NLP: Topic Modeling Project Gutenberg (PyTexas 2017)
PyTexas |

Hot: pathlib, Not: string paths (Josh Schneider) - PyTexas 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER