Getting an imported object's name I am trying to create a list from a directory and import each item with a for loop:

file_list = sorted(os.listdir(path_to_3ds))
autodesk_list = [item for item in file_list if item.endswith('.fbx')]

for item in autodesk_list:
    path_to_files = os.path.join(path_to_3ds, item)
    bpy.ops.import_scene.fbx(filepath = path_to_files)


How can I get the object name of the imported item and export it as object name + ' export'?
You can use Python set operations.


Make a set from all objects in the scene before the import
Perform the import
Make another set from all objects and subtract the set you made earlier


The only objects left in the set are the ones that were imported.

old_objs = set(context.scene.objects)
bpy.ops.import_scene.fbx(filepath="/home/simon/untitled.fbx")
imported_objs = set(context.scene.objects) - old_objs

print("Imported:", imported_objs)