Create a group and assign entities programmatically

Hi,

from python script how to create/delete a new group and assign/remove it an entity ? (es. a person) .

And also, how to read all entities of a group ?

Thanks

Any reply ? Thanks.

Thanks @vdrainer