register('python_fu_mahdicoordinates', 'Mahdi Cooridnates',
    'Get Cooridnates of any path', 'Mahdi Alkhatib', 'Mahdi Alkhatib',
    '2016', 'Mahdi Cooridnates...', '*', [(PF_IMAGE, 'image',
    'takes current image', None), (PF_LAYER, 'layer', 'takes current layer',
    None)], [], python_fu_mahdicoordinates, menu='<Image>/YourNewMenu')
Gimp: How can I get the coordinates of path tool points?