[mod] make it run on python3
[mod] factorize print keyword handling
[mod] reuse function dump_node_list
[enh] add basic node finder feature