Что вызвало ошибку в pyneo? - PullRequest
0 голосов
/ 08 октября 2019

Я выполнил матч-шифр в цикле. И это произошло при выполнении определенного шага. Тем не менее, кажется, что это хорошо, когда я выполняю на веб-странице neo4j (127.0.0.1:7474). Вот код:

    for ip in dns_list_exclude_center:
        print("the current node ip:"+ip)
        find_center_shortestpath="MATCH (p1:node{id: '210.94.77.102'}),(p2:node{id: '"+ip+"'}),p=shortestpath((p1)-[*]-(p2)) RETURN p"
        print(find_center_shortestpath)
        data_shortestpath=graph.run(find_center_shortestpath).data()
        #shortestpath_nodelist=re.findall(r'\(_(\d+)\)',str(data_shortestpath))
        print(data_shortestpath)

enter image description here

enter image description here

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...