It assumed that 'Shared' was in the current working directory, which may not be always true.
4 lines
141 B
Python
4 lines
141 B
Python
from sys import path
|
|
from os.path import abspath, dirname, realpath, join
|
|
|
|
path.append(join(abspath(dirname(realpath(__file__))), 'Shared'))
|