Why eclipse creates two class files for Python?
This question already has an answer here:
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.
上一篇: 将python包作为模块运行