ArcGIS 10.5 introduced a new scripting language for the whole ArcGIS platform, as well as a Python API. Both are covered below.
The Arcade scripting language
Dynamic labeling and visualization has become a lot easier with the release of Arcade, a lightweight scripting language that lets users write, share and execute expressions. These expressions can be created through simple scripts with a scripting interface inside of an application or IDE. What makes Arcade unique is that the expressions are portable, so that they can be used through the whole ArcGIS Platform and not just one or two applications, such as ArcPy.
Interested in ArcGIS Python training?
April 26th and 27th, 2017, Nashville, TN
Programming ArcGIS with Python Workshop – Introduction
April 28th, Nashville, TN
Programming ArcGIS with Python Workshop – Intermediate