0

I'm new in Python but loving it.

I'm using Eclipse for IDE, but confused why it creates two classes, Please take a look at screenshot

enter image description here

Can you please tell what it is used for?

Help would be appreciated!

1

1 Answer 1

0

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.