Standalone Programming Interface for Zemax OpticStudio COM API in Python
22
stars
11
forks
source link
OpticalSystem object creation fails in Python 3 with error "TypeError: type() argument 3 must be dict, not mappingproxy" #1
Closed
indranilsinharoy closed 8 years ago
Trying to create an OpticalSystem object as
fails with the following error:
The root cause of this problem is that
_comclient.constants.__dicts__[0]
returns adict
in Python 2 and it returns amappingproxy
in Python 3.