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

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