python-杂烩

如何从其它目录导入py文件

import sys

sys.path.append("文件目录地址")

from xxx import xxx

 

posted @ 2017-07-02 23:11  R-Bear  阅读(189)  评论(0编辑  收藏  举报