银行卡记账单

摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-import loggerimport pickleimport sysff=file('account.txt','r')account_list=pickle.load(ff)ff.close() def t 阅读全文
posted @ 2016-06-12 18:47 wangqianlfxh 阅读(229) 评论(0) 推荐(0) 编辑

购物车程序

摘要: #!/usr/bin/env python#_*_coding:utf-8_*_from huansuan import chulifrom tongji import tongjiflag=Trueshengyu=0a={}chongzhi = 0while flag: saraly=int(ra 阅读全文
posted @ 2016-06-08 13:33 wangqianlfxh 阅读(110) 评论(0) 推荐(0) 编辑

省市区小程序

摘要: #!/usr/bin/env python#_*_coding:utf-8_*_memu= {"北京": {"海淀": ["中关村", "四通桥"], "昌平": ["回龙观", "西二旗"]}, "上海": {"黄浦区": ["南京路", "延安路"], "静安区": ["静安街道", "石门"] 阅读全文
posted @ 2016-06-07 10:20 wangqianlfxh 阅读(155) 评论(0) 推荐(0) 编辑

登录小程序

摘要: def pw(name,pass_word): f = open("account", "r") lines=f.readlines() f.close() for acc in lines: u,d= acc.strip().split() if u == name: if d==pass_wor 阅读全文
posted @ 2016-06-07 10:19 wangqianlfxh 阅读(163) 评论(0) 推荐(0) 编辑