BPY add keyframe to each curve after importing a sequence of .SVG files
check this out:
for files in glob.glob(&quot;*.svg&quot;):
    print( files, &quot;... imported!&quot; )
    bpy.ops.import_curve.svg(filepath=files)
    bpy.ops.object.select_all(action='SELECT')

for i, obj in enumerate(bpy.context.selected_objects, 1):
    bpy.context.view_layer.objects.active = obj
    obj.name = &quot;Curve&quot; + str(i)


    for x in [10,20,30,40,50]: # the indentation in this line is important!!!
        obj.location = (0.0 + x , 0.0, 0.0) # ADAPT HERE
    
        obj.keyframe_insert(data_path=&quot;location&quot;, frame=x)

of course you have to adapt the line with &quot;adapt here&quot; to use some mathematics so that you get your progressiveley -&gt; i have no idea what values you want to have there ;)
and of course you can do the &quot;for x in &quot; with a nicer loop...my version is for sure not the most elegant one - but the laziest one ;)