摘要: mongo host/dbname -u username -p password 阅读全文
posted @ 2017-11-27 18:02 mlj0503 阅读(165) 评论(0) 推荐(0) 编辑
摘要: >>> a="[1,2]" >>> type(a) >>> a '[1,2]' >>> b=eval(a) >>> b [1, 2] >>> type(b) >>> a="[1,221]" >>> b=eval(a) >>> b [1, 221] >>> c=list(a) >>> c ['[', '1', &# 阅读全文
posted @ 2017-11-27 14:52 mlj0503 阅读(136) 评论(0) 推荐(0) 编辑