14 lines
232 B
Python
14 lines
232 B
Python
|
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
|