How to find coordinates of nodes

Hi,

I am working on finding coordinates of nodes in WDN using epanettools, but I failed to do that. My code is shown below:

import os, pprint
from epanettools.epanettools import Node
file=os.path.join(os.path.dirname(‘C:/Users/Ziyuan/desktop/Battledim/L-Town.inp’),‘L-Town.inp’)
x=Node.value_type[‘EN_COORDINATEX’]
print(es.ENgetnodevalue(1,x))

Finally, I recevied an error showing ImportError: cannot import name 'adf’ from ‘epanettools’ (C:\Users\Ziyuan\AppData\Local\Programs\Python\Python37\lib\site-packages\epanettools_init.py).

Could you please tell me what does this ImportError mean? I am really confused about this error, because I did not import “_adf”. And could you please share your idea about how to retrieve coordinates of nodes with me?

Appreicate a lot if any advices.