Page 1 of 1

Live 11 / python 3 midi remote scripts issues

Posted: Fri Mar 12, 2021 4:01 pm
by bxn
Hello guys,

I've got 2 issues regarding migrating a python midi remote script I'm writing to Live 11 that prevent me from using Live 11 for now :

- I cannot seem to import subprocess to launch programs anymore. I'm using it mostly to dispatch clicks and keys via ahk and python scripts.
The error I get is " No module named 'msvcrt'". This builtin module (and others) looks like it has been removed from the python build.
I initially needed this workaround because win32api (I'm on windows obviously ^^) is also not present in the Live python build.
Anyone knows if this restriction is by design ?

- The second issue is that scripts don't seem to reload on set reload but only when closing and reopening Ableton. I gather some cache as been setup or scripts are kept in memory. Anyone knows how to come back to the previous behavior ? That speed things up quite a bit when writing scripts.

Many thanks