🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to convert python code in to oml code

User: "hoan_20565"
Altair Community Member
Updated by hoan_20565

Hello,

Could you please tell me if we can convert python code in to oml?

TKS

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    there's no direct too for converting python to oml, as far as I know, BUT Compose can run Python commands/codes.

    Wouldn't this be helpful for your case?

    User: "hoan_20565"
    Altair Community Member
    OP
    Updated by hoan_20565

    there's no direct too for converting python to oml, as far as I know, BUT Compose can run Python commands/codes.

    Wouldn't this be helpful for your case?

    Hello, 

    Do you mean that we can run Python in OML?

    User: "João Marabisa"
    Altair Employee
    Updated by João Marabisa

    Hello, 

    Do you mean that we can run Python in OML?

    Hi @hoan ,

    As mentioned by Adriano, in Compose (OML is the language and Compose the Software/IDE) we can run Python codes:

    image

    Besides that, there is a bridge between OML and Python, it means that they talk to each other. Below I'm using and OML function to directly execute a Python function:

    image

    Summary: We cannot convert directly, because this is not necessary, we can have a nice interaction between OML and Python.