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!

EdChum
  • 376,765
  • 198
  • 813
  • 562
Robo man
  • 13
  • 4

1 Answers1

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.

Arslan Rafique
  • 176
  • 1
  • 12