[[email protected]]# 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‘)
时间: 2024-12-16 14:58:26
[[email protected]]# 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‘)