Abaqus - Real-time data exchange between Python and Fortran(abaqus subroutine).

Dear friends,
I want to implement a real time data exchange between abaqus subroutine and python, for examle an array. I do not want to use the third party file (e.g. .txt), where the values can be written and read. I would like to use something like socket function (TCP/IP for server and client) to exchange data between client and server. For Python it can be implemented very easy. But for Fortran it is very difficult. I can not find in internent a good examle for TCP sockets in Fortran.

Are there similar options to implement a real time data exchange between Fortran and Python?

If you could provide a small example for solving this problem, I would be appreciate.

Abaqus ​​​​​​​