随笔分类 - Python
20140528 python start
摘要:---------------------- haproxy configuration manual ------------------...
阅读全文
摘要:Python 类型转换 str(),repr()|format() : 将非字符类型转成子串 int() : 转为整形 float() : 转为浮点型 list(s) : 将字串s转成列表 tuple(s) : 将字串s转成元组 ...
阅读全文
摘要:Python 征程(用户输入名字进行密码验证)#!/usr/bin/env pythonaccount_file = file('account.txt')user_list = account_file.readlines();while True: lock_file = file('lo...
阅读全文