coll = bpy.data.collections.get('Collection')
for ob in coll.objects:
   print(ob.name)