You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
@mansimarkaur, the init.py file is simply to allow the folder to be treated as a python module for importing. It can be empty as its contents aren't important, its presence is.
Also, without the init.py file, the folder sequential wasn't being treated as a part of the package and hence, when you ran the command "pip install pyarch", it wasnt creating a copy of that folder in the site-packages of your python libraries.
9254bce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add an empty file?
9254bce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mansimarkaur, the init.py file is simply to allow the folder to be treated as a python module for importing. It can be empty as its contents aren't important, its presence is.
Also, without the init.py file, the folder sequential wasn't being treated as a part of the package and hence, when you ran the command "pip install pyarch", it wasnt creating a copy of that folder in the site-packages of your python libraries.