I am using blender 2.81.
If I change into "Default" view and then manipulate objects then the Info pane shows the Python commands associated with those manipulations. This is very helpful.
But when I select objects it does not show the equivalent operations. Specifically I am trying to associate the bones with the mesh and parent them with automatic weights.
It is quite frustrating as I am trying to write a script to automate the export of a rig.