object list is not iterable and save directly in stl files
I was able to save existing objects in separate stl files with this statement
my_filepath = bpy.path.abspath(' //my_directory/ ')
bpy.ops.export_mesh.stl(filepath = my_filepath, batch_mode = 'OBJECT')