游雁
2023-11-09 b19191cb5f47cf3fcd93dc8151e2b14d707c0daf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
 
 
import os
 
 
def get_abs_path(rel_path):
    """
    Get absolute path
 
    Args:
        rel_path: relative path to this file
 
    Returns absolute path
    """
    return os.path.dirname(os.path.abspath(__file__)) + '/' + rel_path