随笔分类 -  Python

20140528 python start
摘要:---------------------- haproxy configuration manual ------------------... 阅读全文
posted @ 2015-07-27 15:52 arvim 阅读(1823) 评论(0) 推荐(0) 编辑
摘要:Python 类型转换 str(),repr()|format() : 将非字符类型转成子串 int() : 转为整形 float() : 转为浮点型 list(s) : 将字串s转成列表 tuple(s) : 将字串s转成元组 ... 阅读全文
posted @ 2014-07-30 23:53 arvim 阅读(298) 评论(0) 推荐(0) 编辑
摘要:Python 征程(用户输入名字进行密码验证)#!/usr/bin/env pythonaccount_file = file('account.txt')user_list = account_file.readlines();while True: lock_file = file('lo... 阅读全文
posted @ 2014-05-28 22:32 arvim 阅读(1077) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示