Help for testing

Hello to all I am trying to use python,
to prepare a Blend automatically,
there is no Error,
but No node shows in my PC,
They look like to be created because the appear connected to the object.
What I did wrong??

http://pasteall.org/1352125/python

Best regards