python项目中__init__.py 存在意义

  • python3x: init.py 在python3.x没有任何意义
  • python2.x: 在python2.x中不定义一个__init__.py文件 导致其他模块将不能用该包中的模块