PYTHON 根目录主程序导入子目录下的所有模块, 提示模块找不到
巴扎黑
巴扎黑 2017-04-18 10:18:54
0
1
681

目录结构如此:

main.py:

from new1 import * 

fun1()

__init__.py

from app.py import * 

app.py中定义了 fun1方法

出现的问题:

我是那里写错了吗, python3.5

巴扎黑
巴扎黑

reply all(1)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!