Created
January 10, 2017 15:58
-
-
Save aerispaha/7ee099476a6c1dc28bcb96d2d975c7d3 to your computer and use it in GitHub Desktop.
import arcpy into Anaconda Jupyter notebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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' | |
env.split(';') | |
[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