#% The med file can be obtained by running create_mesh_c3h8q4 executable
from libMEDMEM_Swig import *
+import os
+#
+#befor running this script, please be sure about the path the file fileName
+#
+filePath=os.environ["MED_ROOT_DIR"]
+filePath=filePath+"/share/salome/resources/"
-medFile = "cube_hexa8_quad4.med"
+medFile = filePath + "cube_hexa8_quad4.med"
md = MED()