雾聪
2023-11-30 9fa2b2128d3935b2edff2a2a3f1b8fd430a7e272
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
 
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