志浩
2023-02-20 731bfcbc7e7c8fb797ddc9a0a73b84749d40ced7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
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