I was trying to run blender in the background and run the python file to select a group and change it's size
here is the shell command I ran:
blender -b filename.blend -P pythonname.py
And inside pythonname.py I have this:
bpy.ops.object.vertex_group_set_active(group='Group')
bpy.ops.object.vertex_group_select()
bpy.ops.transform.resize(value=(float(val1),float(val2),float(val3)))
bpy.ops.export_mesh.stl(filepath="/var/www/html/kiosk/stlv1.0/cylinder_savedcopy.stl")
bpy.ops.wm.quit_blender()
I was stopped at the active part.