How to connect session_manager

How can I apply to functions like "session_manager.remove" through Python? If I do not import module session_manaher (I do not know from where)?

Can my code look like this: os.system ('/ home/ostap/rv-3.12.18/bin/rvpush py-exec "import rv.commands; session_manager.remove (file); "')

댓글 1개

  • 0
    Alan Trombla

    Hi Ostap,

    Maybe you can tell me a little more about what you're trying to do.  The session_manager module is written in Mu, and can't be called directly from Python.  But further session_manager.remove() is a string-array utility function that doesn't do anything with the loaded media.  What exactly do you want to make happen with your rvpush command ?   And to be clear, you're trying to control RV from a separate program (python script) correct ?



댓글을 남기려면 로그인하세요.