01 2016 档案

摘要:#!/usr/bin/env python # -*- coding:utf-8 -*- import os,sys num_count = 0 lock_file = 'lockfile.txt' account_file = 'account.txt' match_flag ='' def lo 阅读全文
posted @ 2016-01-28 16:47 fengjian1585 阅读(266) 评论(0) 推荐(0) 编辑
摘要:print cmp(2,3) print cmp(2,2) print cmp(3,2) abs(-1) print bool(0) print bool(-1) False print bool('') False print divmod(3,2) print min([11,22,33,44]) #必须是列表 print max([11,22,33,44]... 阅读全文
posted @ 2016-01-25 11:35 fengjian1585 阅读(308) 评论(0) 推荐(0) 编辑