object_path = "test/3d_result/glb/543570111d344552b080ff6f875e4e83.glb" path_parts = object_path.split("/", 1) bucket_name = path_parts[0] object_name = path_parts[1] print(object_name) print(bucket_name)