Samples presented here demonstrate various features of the ArcGIS API for Python. The samples are categorized by the user profile they are most relevant to. Most samples are in the form of a Jupyter Notebook, that can be viewed online, or downloaded and run interactively. A few samples are provided as stand-alone Python scripts in the accompanying GitHub SDK repository.Download as an archiveClone the GitHub repository
To run the sample notebooks locally, you need the ArcGIS API for Python installed on your computer. See the Getting Started section in the Guide to learn how to download and run the API.
Next, extract the archive if you downloaded as an archive then open your terminal application and enter the directory with the samples. Then start Jupyter notebook application. Refer to this section for instructions on how to do this and to get yourself familiar with the notebook environment.