Python folder structure
Python's folder structure holds more than just the Python Interpreter. Within the subfolders reside a number of important scripts, digital link libraries, and even C language modules. Not all of the scripts are used all the time, but each has a role in making the Python programming environment possible. The most important folder to know about is the site-packages folder, where most modules that will be imported in Python scripts are contained.
Where modules reside
Within every Python folder is a folder called Lib
, and within that folder is a folder called site-packages
. On my machine, the folder sits at C:\Python27\ArcGIS10.2\Lib\site-packages. ...
Get ArcPy and ArcGIS – Geospatial Analysis with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.