How To Create Nodes In Python