# Author : Guillaume Boulant (EDF)
-import MEDCoupling as MC
+import sys
+if sys.platform == "win32":
+ import MEDCouplingCompat as MC
+else:
+ import MEDCoupling as MC
+
import MEDLoader as ML
from PIL import Image
print("Imagem mesh dimension: %d"%cmesh.getSpaceDimension())
# WARN: In the current state of development of MEDLoader, only
- # unstructured meshes are supported for writting function in med
+ # unstructured meshes are supported for writing function in med
# files. We just have to convert the cartesian mesh in an unstructured
# mesh before creating the field.
umesh=cmesh.buildUnstructured();