Exploding component with the click of a button

Is it possible to explode a component into its sub assemblies with a click?
Also is it possible to do the same using the Python API?