ubuntu 中python交互式程序设置tab自动补全

import rlcompleter,readline
readline.parse_and_bind('tab:complete')

import os
os.listdir('/tmp')

评论

暂无评论