Export mesh using code (VBA or else)

Hi, I'm looking for a way to export a mesh (or abaqus input file .inp) using a piece of code (python, VBA or whatever). Same, I would like to do the same for results of simulation and parts as step or stl files
Any ideas ? Thanks !

3DEXPERIENCE ​​​​​​​