Skip to content
All lessons

Tech Insights

If you need to split a path, use os.path.split(path_str) instead of path_str.split(os.path.sep). otherwise you'll have pr...

If you need to split a path, use os.path.split(path_str) instead of path_str.split(os.path.sep). otherwise you'll have problems with absolute paths even if you use os.path.join to join everything altogether

Shared by

  • Python

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us