import rlcompleter,readline
readline.parse_and_bind('tab:complete')
import os
os.listdir('/tmp')
ubuntu 中python交互式程序设置tab自动补全
点赞
收藏
ubuntu 中python交互式程序设置tab自动补全
import rlcompleter,readline
readline.parse_and_bind('tab:complete')
import os
os.listdir('/tmp')