axial force N in python

dear all

I want to output the axial force of the Embedded beam in python, but I don't know the scripting, can you tell me?

thank you