How to retrieving newly created element Ids with python?

@urdiafa