统计不连续卡号问题
2011-09-17 10:08
190 查看
1, TAB补全代码
本文出自 “丁同学1990” 博客,请务必保留此出处http://dingtongxue1990.blog.51cto.com/4959501/1674271
#!/usr/bin/python #pyton startup file import sys import readline import rlcompleter import atexit import os #tab completion readline.parse_and_bind('tab:complete') #history file histfile =os.path.join(os.environ['HOME'],'.pythonhistory') try: readline.read_history_file(histfile) except IOError: pass atexit.register(readline.write_history_file,histfile) del os, histfile, readline, rlcompleter #end2, 测试TAB代码
>>> import tab >>> import hello hello,world >>> hello hello >>> hello. -------这里敲TAB键补全 hello.__class__( hello.__hash__( hello.__repr__( hello.__delattr__( hello.__init__( hello.__setattr__( hello.__dict__ hello.__name__ hello.__sizeof__( hello.__doc__ hello.__new__( hello.__str__( hello.__file__ hello.__package__ hello.__subclasshook__( hello.__format__( hello.__reduce__( hello.a hello.__getattribute__( hello.__reduce_ex__( >>> hello.
本文出自 “丁同学1990” 博客,请务必保留此出处http://dingtongxue1990.blog.51cto.com/4959501/1674271
相关文章推荐
- 概率统计里分布函数中的右连续问题
- 【MySQL】查询前7天的数据统计(解决日期不连续问题)
- 如何解决数据库统计时的会计年度和会计月份问题
- java经典问题_对输入进行统计
- mysql 压力测试之批量插入自增字段不连续问题
- UVA165连续邮资问题
- 连续整数固定和问题
- js中关于逻辑符号的连续使用问题
- 统计每个值连续出现的次数
- 从单词统计问题看面试
- 有关windows下键盘连续响应问题
- SDUT 1704 统计数字问题
- 第一次出现连续结果面试问题
- 最长公共子序列问题(不要求连续)
- 统计输入的每个值连续出现多少次
- sql server存储过程实例:统计一段时间内各连续ID的价格合计
- 数理统计中假设检验问题的理解与思考
- hdu1860-统计字符出现次数问题 string.find()
- 连续打印问题的解决
- 一类简单数位统计问题的记忆化搜索解法