Automatically populate Python window when UI tasks are performed

Idea created by matthewb on Aug 18, 2014
    New
    Score20
    Python is incredibly powerful and arcpy.mapping is incredibly useful, however it requires a user to go and research the commands and syntax they require. This can be daunting for new users and for simple tasks, it is often faster for them to continue using the UI than it is learn to use arcpy.mapping to perform task such as changing the symbology of a layer. It would be a great feature if ArcGIS Desktop/Pro automatically populated the Python Window with these commands when they are performed through the UI. This feature feature could also be implementent as a recordable macro or incorporated into the Task feature of ArcGIS Pro or  in a similar way that Geoprocessing history can be copied as a Python snippet. This feature could also be implemented beyond the scope of arcpy.mapping.