I know how I can find out the python command by clicking a button in the Blender interface, and then look in the info window:
For example, as can be seen, I added a cube, UV sphere, plane, camera, lamp, pressed A twice.
But how can I find out an object variable name, for example the y-rotation of an object. Because I can't find the y-rotation, when I point my mouse over it, I can only find the rotation:
bpy.data.objects.items()
to see all current objects and their names $\endgroup$ – g19fanatic Dec 23 '16 at 17:38