Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

_utils_internal.py 207 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
  1. import os
  2. # Get relative file path
  3. # this returns relative path from current file.
  4. def get_relative_path(curr_file, *path_components):
  5. return os.path.join(os.path.dirname(curr_file), *path_components)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...