8 lines
145 B
Python
8 lines
145 B
Python
|
import imp
|
||
|
import os.path as osp
|
||
|
|
||
|
|
||
|
def load(name):
|
||
|
pathname = osp.join(osp.dirname(__file__), name)
|
||
|
return imp.load_source('', pathname)
|