I am stuck with a problem and I would like to get input from you guys.
I am coding a Neo4J application using py2neo. I want to read a file and use that file to create the nodes and relationships
The problem I have is that the file input using code below, gives the lines back as a string.
file = "../create_db"
dbFile=open(file,'r')
And what I need is, instead of getting it back as a string, to get it raw.
At the moment the problem is that I want:
graph_db.create(node({'Id':'1', 'Description':'Computer'}))
But I get:
graph_db.create("node({'Id':'1', 'Description':'Computer'})")
Is there a way to get file input raw? Maybe an library that gives it back raw?
Thanks in advance, Jiar