叽叽喳喳,嘻嘻哈哈

导航

2017年6月20日 #

neo4j 常用命令查询,以及更新 节点 的 label 名 和 property 名

摘要: 常用命令查询 https://neo4j.com/docs/cypher-refcard/current/ 更新节点的 labels 有时候 发现节点的 label 名字起错了怎么修改呢?!一个节点是可以有多个 label 的 ,它的 labels 是一个列表。查看节点的 label 可以用 lab 阅读全文

posted @ 2017-06-20 10:42 叽叽喳喳,嘻嘻哈哈 阅读(2204) 评论(0) 推荐(0) 编辑

摘要: sys.argv 标准输入:stdin 标准输出:stdout 标准错误:stderr f = open('output','w') print >>f, 'hello word' f.close() def countdown(n): while n>0: yield '%d' % n n -= 阅读全文

posted @ 2017-06-20 08:53 叽叽喳喳,嘻嘻哈哈 阅读(122) 评论(0) 推荐(0) 编辑

页面中 json 格式显示 数据

摘要: 在页面中,有时候我们需要的不仅仅是将数据显示出来,而且要以以 json 的格式显示数据,如显示接口的时候 我们需要如下显示 这个时候,主要用到了 <pre> 标签 阅读全文

posted @ 2017-06-20 08:41 叽叽喳喳,嘻嘻哈哈 阅读(633) 评论(0) 推荐(0) 编辑