so there is a record of this problem i had, to solve this problem either use import node . . . n = node.Node("test") or from node import * . . . n = Node("test") Cheers