python api sandbox

04-13-2020 07:47 AM
New Contributor II


I'm sure I'm just missing something simple, but I'm getting nowhere so I figure I should just ask.

I want to try the ArcGIS API for Python in the live sandbox. I copied and pasted the code for in the "your_first_notebook" (Jupyter Notebook ). Everything looks good for the first 6 steps. Then I paste in:

#Create a new map object
map1 =
#Focus the map to the part of the world containing the example item
map1.extent = example_item.extent
#Display the map

And nothing happens. Shouldn't it display a map?

I also tried:

from arcgis.gis import GIS
gis = GIS()
map ="Paris")

from this thread ( ) and nothing happens. Actually that's not quite true. I will say that the Chrome console shows all sorts of errors.

Any help you can provide would be appreciated.

2 Replies
MVP Emeritus

If you want an error, I got one... maybe the sandbox isn't ready for primetime (and nowhere obvious to change it python 3.6)

0 Kudos
New Contributor II

Thank you. At least I don't feel like I'm going insane. Maybe someone from ESRI will weigh in with some info...

0 Kudos