Why eclipse creates two class files for Python?

This question already has an answer here:

  • What is __init__.py for? 11 answers

  • Placing __init__.py file in a folder simply tells the interpreter/IDE that it contain(may contain) python scrips.

    Now in the mentioned scenario, eclipse placed two __init__.py files but one for/in com folder and one for myPythonProject . Which means both folders contain(may contain) python files.

    链接地址: http://www.djcxy.com/p/54816.html

    上一篇: 将python包作为模块运行

    下一篇: 为什么eclipse为Python创建两个类文件?