Thanks, Filipp. That got me farther.
Traceback (most recent call last):
File "create_nodes.py", line 17, in <module>
node_name = data.strip()
AttributeError: 'list' object has no attribute 'strip'
Traceback (most recent call last):
File "create_nodes.py", line 17, in <module>
node_name = data.strip()
AttributeError: 'list' object has no attribute 'strip'