You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
246 B
12 lines
246 B
6 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import sys
|
||
|
import os.path
|
||
|
|
||
|
ROOTDIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||
|
sys.path.insert(0, os.path.realpath(ROOTDIR))
|
||
|
|
||
|
|
||
|
def path(*segments, join=os.path.join):
|
||
|
return join(ROOTDIR, *segments)
|