Python.NET is currently compatible and tested with Python releases 2.7 and 3.5-3.8.
Can you confirm whether Python 3.8 is supported by OpticStudio? I know I can just try it and find out, but I want to avoid problems that only become apparent later
Mark
Best answer by MichaelH
Hey Mark,
Yes, Python 3.8 is now supported. The module behind the scene which actually communicates between Python and the ZOS-API is a module called pythonnet; Zemax itself does not have any special code to handle new versions of Python. When the templates were first created, this module itself did not support Python 3.8 so we couldn't support it in the templates. Since then, pythonnet has updated to work with Python 3.8. For future releases of Python, the compatibility will be based on when pythonnet itself supports the new version:
Yes, Python 3.8 is now supported. The module behind the scene which actually communicates between Python and the ZOS-API is a module called pythonnet; Zemax itself does not have any special code to handle new versions of Python. When the templates were first created, this module itself did not support Python 3.8 so we couldn't support it in the templates. Since then, pythonnet has updated to work with Python 3.8. For future releases of Python, the compatibility will be based on when pythonnet itself supports the new version:
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.