Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import arcpy into Anaconda Jupyter notebook
#change path to appropriate ArcGIS directory
import sys
env = r'C:\Python27\ArcGIS10.3;C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Scripts;C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy;C:\Program Files (x86)\ArcGIS\Desktop10.3\bin'
[sys.path.append(p) for p in env.split(';')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment