python: 添加自定义模块路径 —— 可以使用相对路径

自定义模块时,添加模块路径:

sys.path.append('..')

 

posted on 2016-10-17 16:24  ZhYQ_note  阅读(1716)  评论(0编辑  收藏  举报

导航