Blender python trying to scale the uv
Maybe u forget to add 'R' before the file path?
bpy.data.images.load(R&quot;H:\blender__texture_maps_ao_normal_height_etc\Wooden_planks_04_2K_Base_Color.png&quot;)
It should raise an error in python but my blender doesn't show any error message. Everything works fine in my blender.
Edit: You can use the following code to scale your uv instead of using bpy.ops.transform.resize
See more information here
me = bpy.context.object.data
uv_layer = me.uv_layers.active.data

scale_factor = 2
for poly in me.polygons:
    for loop_index in range(poly.loop_start, poly.loop_start + poly.loop_total):
        # rearrange uv coordinate from 0~1 to -1~1 and scale it.
        uv_layer[loop_index].uv.x = (uv_layer[loop_index].uv.x - 0.5) * 2 * scale_factor / 2 + 0.5
        uv_layer[loop_index].uv.y = (uv_layer[loop_index].uv.y - 0.5) * 2 * scale_factor / 2 + 0.5