use nodepath module to get node global path