#!/usr/bin/python3.4

from py2neo import Graph

host_port = "localhost:7474"
user_name = "neo4j"
password = "woodstock"

graph = Graph("http://" + user_name + ":" + password + "@" + host_port + "/db/data/")
cypher = graph.cypher

print(cypher.execute("MATCH (n) RETURN n LIMIT 25"))

@@ -204,51 +204,24 @@
 /%22)%0A
-cypher = graph.cypher%0A%0Aprint(cypher.execute
+%0Aprint(graph.run
 (%22MA
@@ -248,9 +248,17 @@
 IT 2
-5%22
+00%22).dump(
 ))%0A

Update python import: - use v3 py2neo