CliveS wrote:Vig wrote:I modified the code in SimpleSerial plugin, I think it should be python3 compatible.. how do I check if it works with 2022.2?
I had the same question and the answer was, to quote my good friend @autolog .All scripts in Indigo 2022.1+ now use Python 3.
Internally, within a plugin, there is an info.plist file that contains a field (ServerApiVersion) that determines what Python version the plugin requires. If this API version is specified as 3.0 (or greaterin the future) it will use Python 3, otherwise (for the moment) Python2. Python 2 will be deprecated and|or not supported in Indigo 2022.2+.
Have a look at [url]
viewtopic.php?f=365&t=26083
[/url]
Thanks CliveS, I was able to test the plugin. Doesn't seem to generate any errors with the obvious python3 syntax changes I made but unfortunately it didn't work. Something to do with the threads being prematurely closed.. Oh well..