It looks like you're new here. If you want to get involved, click one of these buttons!
The cell selection is not accessible directly within Python. Only selected layout objects, rulers or images can be obtained through the API currently.
You may be able to find the widget using the Qt API and ask for the selected cell items, but that's highly non-portable and likely not to work in future versions.