摘要: 测试用户: admin 密码 :yaochizaocan1.队列收发消息.收发2W条消息.几秒钟收发完毕.生产者与消费者最终收发数目一致.处理速度较快.大概就几秒钟时间. 2.队列收发2000W条消息.队列持续不断开.将对应的服务器停机后.出现节点切换.此时消费者不消费.生产者还在生产.队列堆积16 阅读全文
posted @ 2018-04-19 19:53 DisCover_ry 阅读(2285) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python#Zhangpengfeiname = input("name:")age = input("age:")job = input("job:")salary = input("salary:")info = ''' info of %s Name:%sAge 阅读全文
posted @ 2018-04-19 19:07 DisCover_ry 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-04-19 19:04 DisCover_ry 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python#Zhangpengfei_username = 'zhangpengfei'_password = '123456'username = input("username:")password = input("password:")if _username 阅读全文
posted @ 2018-04-19 19:02 DisCover_ry 阅读(164) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python#Zhangpengfei age_of_pengfei = 30count = 0while count < 3: guess_age = int(input("guess_age:")) if guess_age == age_of_pengfei: p 阅读全文
posted @ 2018-04-19 19:02 DisCover_ry 阅读(752) 评论(0) 推荐(0) 编辑
摘要: C:\Python36\python.exe D:/py1.0/1.1/day1/1-10.py1234568910 Process finished with exit code 0 阅读全文
posted @ 2018-04-19 18:59 DisCover_ry 阅读(675) 评论(0) 推荐(0) 编辑