Automatically launch Python variable browser

robertavarela
robertavarela New Altair Community Member
edited October 2020 in Community Q&A

Hello, community!

 

Is there a way to automatically launch the Python variable browser? I'd like to initialize it as soon as the OML script starts running for the sake of making it faster when the actual Python script is called.

 

I'm currently using as a workaround the creation of a dummy variable:

evalpythonscript('initializePython=1');

 

Thanks,

 

Roberta

Tagged:

Answers

  • manoj kandukuri
    manoj kandukuri
    Altair Employee
    edited February 2021

    Below is kind of a hack in  2019.2

    1.  set python as preferred language under file>preferences>Compose>General

    2. open new python and OML files (to trigger OML command window)

    3. close compose and relaunch

    you will see both OML and python interpreters. 

     

     

     

     

  • robertavarela
    robertavarela New Altair Community Member
    edited August 2019

    Manoj,

    Thanks for your suggestion!

    I was wondering if we had something that didn't need the user intervention, since every interaction with Compose would be done by the user by the custom GUI that has been created. Let's say that the script is for someone who is totally not familiar with Compose and all he is going to do is hit 'Play' to use the GUI.

    Cheers,

    Roberta