How to use nodes in python script?

Nodes like Data.ImportExcel, how can I use this node in a python script?

I get the error “Data” is not defined. Is there something I need to import to use these nodes? Or is my syntax wrong?

Thank you in advance!

Edit: I’ve seen that you solved it by importing some DS libraries, well done!
To do that in ironpython, there is this way:

http://www.ironpython.info/index.php?title=Interacting_with_Excel

1 Like