Maybe it's too simple, but: Is there a way to add the OpenStreetMap basemap from Python-Script in ArcMap?
Load first time your basemap in arcmap and export it to *.lyr file.
You can simply save "Basemap" group layer to a .lyr file to your system somewhere.
Next, you can load it with
basemapLayer = arcpy.mapping.Layer("C:/temp/basemap_osm.lyr") mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd, "*") arcpy.mapping.AddLayer(df, basemapLayer, "BOTTOM")
That is simpliest