[root@localhost]# cat tab.py #! /usr/bin/env python import sys import readline import rlcompleter import os readline.parse_and_bind(‘tab: complete‘) histfile = os.path.join(os.environ[‘HOME‘],‘.pythonhistory‘)
本文出自 “凌风” 博客,请务必保留此出处http://fgf01.blog.51cto.com/3907069/1718989
原文地址:http://fgf01.blog.51cto.com/3907069/1718989