Computer Science
What is the importance of site-packages folder of Python installation ?
Python Libraries
2 Likes
Answer
The importance of site-packages folder of Python installation is that we can easily import a library and package using import command in Python only if it is attached to site-packages folder as this is the default place from where python interpreter imports Python library and packages.
Answered By
3 Likes
Related Questions
What is a library ? Write procedure to create own library in Python.
What is the use of file __init__.py in a package even when it is empty ?
How are following import statements different ?
(a) import X
(b) from X import *
(c) from X import a, b, c
What is Python PATH variable ? What is its significance ?