The equivalent would be OLE, I think. Yes, Word can't trivially use the text output of a Python program, but then LaTeX can't trivially embed a chunk of an Excel document and have it updated automatically. Both systems make assumptions about what they will integrate with.
That carries quite a few assumptions - for instance that it is a file that you are including. As the name implies, with OLE you are not including a file, but an object provided by another actively running program. Let's say you wanted a text document which contained a live video view from an IP camera. That would be feasible in OLE. Obviously you would not want to print such a document, but it's not an outlandish thing to want to make for viewing on screen.
It's not really obvious which is "better" as the two mechanisms work in very different ways. If anything, I would say that OLE can be more general, but the complexity of a minimal program to supply OLE objects is quite high compared with LaTeX.