模拟银行卡冻结解冻时间

   #模拟银行卡冻结解冻时间
    import time#导入时间包
    a='2019-03-04 14:06:05'
    t1=time.mktime(time.strptime(a,"%Y-%m-%d %H:%M:%S"))
    
    while True:
        t2=time.time()
        t3=int(7*24*60*60-(t2-t1))
        sec=t3%60
        min=t3//60%60
        hor=t3//3600%24
        day=t3//3600//24
        if sec>=0:
            print("解冻剩余时间:{}天{}时{}分{}秒".format(day,hor,min,sec))
            time.sleep(2)
        else:
            print("您的账号已解冻")
            break
    
    '''import time
    a='2019-03-04 14:06:05'
    t1=time.time()
    s=time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(t1))
    print(s)'''
    
    
    
    # import time
    # print(time.time())
    #
    # import time as xiaogou
    # print(xiaogou.time())
    # print(time.time())
    # import xiaogou as a
    # a.dog()
    # a.zangao()
    
    # from bowen import run,stop
    # run()
    # stop()
    
    # from s600 import *
    #
    # s1=S600("京A66666")
    # s1.run()
    # chifan()
    
    from m1 import A,B
    A()
    B()             #可以导入
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值