# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2012-2016 CEA/DEN, EDF R&D
+# Copyright (C) 2012-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# (gboulant, nov. 2012)
from MEDLoader import *
-from MEDCoupling import *
+from medcoupling import *
import os
filename = "timeseries.med"
rmedfilename = filepath
-# Load the meshe data
+# Load the mesh data
meshname = "Grid_80x80"
fieldname = "Pulse"
dimrestriction = 0 # no restriction
x=0.5
y=0.5
fieldValue = fieldOnNodes.getValueOn([x,y])
-print fieldValue
+print(fieldValue)