Retrive attachment content in python formula

Hi,

is it possible to get the file content of an attachment from a formula?

Like, I’ve seen it is possible to get the file name, type, extension etc. using

[$Attachment[0]][0].fileName

but, is there a way to get the content of the file itself?

(Goal: the attachment is a HTML template I whant to populate with data from other tables, all those template should be merged in a single document)