Forum Discussion

Mr_Bro's avatar
Mr_Bro
Frequent Contributor
4 years ago

Error while using Runner.CallMethod()

Hi Team,   i am using Python as Project script a Language, and i am trying to use Runner.CallMethod to execute a definition which is in a different routine, but i am getting error as "Python runt...
  • Mr_Bro's avatar
    Mr_Bro
    4 years ago

    A_Roskoshnyi ,

     

    Thanks for your reply

    And the below solutions resolved my problem:

    exec("Unit1.testSample()") and eval("Unit1.testSample()")

     

    Regards,

    Sathish Kumar