Connect Python and MT5

 
I am finishing building my first robot, but I find the following problem, I have the code written in python (IDE pycharm) and I don't know how to place the orders from the same code, I tried it with 0mq but it was not possible. If someone can guide me where I am wrong, I would greatly appreciate them! 
 
Reason: