I have a question on the best way to save an index in Python. I use a
dictionary to index nodes representing images that can contain
objects. Like this: {'image00001.jpg': <neo4j._primitives.Node object
at 0x92166ac>, ...}
To save this index, I tried using Pickle:
def save(self,filename):
# save indexes etc
f = open(filename, 'wb')
pickle.dump(self.image_index,f)
f.close()
This does not work and my interpretation of the errors is that the
problem being the Node object not being Pickleable. Anyone have ideas
or a better suggestion?
/Jan Erik
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user