Python导入自定义类

import sys sys.path.append('path') from filename import classname as xxx

    推荐阅读