How to get the caption of a text object in Python? I've got a Blender file with a lot of text objects and I want to do some scripting modifications on specific text with specific caption.

Is it possible to get the caption of a text curve in Blender?

For example, in the image below the caption that I want to find in Python is: 'This is a test'
Yes, you can access the text via the body attribute,

Example:

# assume active object
obj = context.object
curve_text = obj.data

print(curve_text.body)

# set a new string
curve_text.body = "This is a NEW test :)"