随笔分类 -  python

摘要:path = [] while True: temp = db for item in path: temp = temp[item] print("当前所有的子节点:",list(temp.keys())) choice = input("1:添加节点;2:查看节点;(Q/b);\n>>>") if choice == "1": ... 阅读全文
posted @ 2018-04-16 13:29 夏天的麦田 阅读(279) 评论(0) 推荐(0)
摘要:pyCharm最新2018激活码(2018-02-26) pyCharm最新2018激活码(2018-02-26) 2018年01月25日 20:42:0522857人阅读 评论(23) 收藏 举报 2018年01月25日 20:42:0522857人阅读 评论(23) 收藏 举报 分类: 移动开发 阅读全文
posted @ 2018-04-12 22:54 夏天的麦田 阅读(595) 评论(0) 推荐(0)
摘要:1 2 print("*******************输入不能超过20个字符**********") 3 4 user1=input("请输入用户名:") 5 passwd1=input("请输入密码:") 6 mail1=input("请输入邮箱密码:") 7 8 9 user2="用户名\t"+user1 10 passwd2="密码\t"... 阅读全文
posted @ 2018-03-21 01:31 夏天的麦田 阅读(212) 评论(0) 推荐(0)
摘要:l=["l","i","u","b","i"] l="".join(l) #将列表变成字符串 print(l) list1=[] str1="" addition_number=0 #设置开始读的变量 i=1 while addition_number len(l)-1... 阅读全文
posted @ 2018-03-20 23:13 夏天的麦田 阅读(14564) 评论(0) 推荐(0)