Glad you got it sorted, If you intend to do more than a few python scripts, I had a look to see if
VS Studio or VS Code would run on linux and it can, why I mention this, is that they provide
tools so that you can see CB's “Python functions” (does not explain them though).
Its difficult to start scripting\plugins as there's not a lot of documentation or examples
to learn from.
Dave