Q. Why is a package attached to site-packages folder of Python installation? Can't we use it without doing so?
Answer =
In order to
import a package using import command, the package and its contents must be attached
to site-packages folder of Python installation as this is the default place
from where Python interpreter import Python library and packages.
So in order to import our package with import command in our programs, we must
attach it to site-packages folder of Python installation.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )