Blender Group Transform

Hi there, im wondering how i can transform groups in blender with python, the main point is, i want to
move it the group via python to a specific location

I dont want to create instances of the group.

Something like this if you know the name of the group.


import bpy

grp_name = "my_group"
grp = bpy.data.groups.get(grp_name)
if grp != None:
    for ob in grp.objects:
        ob.location.x +=1

Thank you !