Onmt translate error

Dear team

import os

os.system(‘onmt_translate -model march2020\nmt(brnn)\demo-model2_step_7991.pt --src march2020\nmt(brnn)\test.pun -output march2020\nmt(brnn)\testpred.eng -replace_unk -verbose’)

this script file giving the error of
[onmt_translate: error: the following arguments are required: --src/-src]

Not sure what you’re trying to achieve here. Why not just calling onmt_translate from your shell?
But if calling it from python is necessary, you can either use the onmt libraries directly, or maybe try subprocess.