If you want to know where the python site-packages directory is located in your machine do the following.
from distutils.sysconfig import get_python_lib
print(get_python_lib())
from distutils.sysconfig import get_python_lib
print(get_python_lib())
No comments:
Post a Comment