_utils_internal.py 207 Bytes
Newer Older
1
2
3
4
5
6
7
import os


# Get relative file path
# this returns relative path from current file.
def get_relative_path(curr_file, *path_components):
    return os.path.join(os.path.dirname(curr_file), *path_components)