python交互模式下tab键自动补全

import rlcompleter,readline
readline.parse_and_bind('tab:complete')
posted @ 2017-11-03 15:56  西门运维  阅读(386)  评论(0编辑  收藏  举报