发布时间:2019-07-26 09:45:35编辑:auto阅读(1770)
vi python.py
#!/usr/bin/env python
# python startup file
import sys
import readline
import rlcompleter
import atexit
import os
# tab completion
readline.parse_and_bind('tab: complete')
# history file
histfile = os.path.join(os.environ['HOME'], '.pythonhistory')
try:
readline.read_history_file(histfile)
except IOError:
pass
atexit.register(readline.write_history_file, histfile)
del os, histfile, readline, rlcompleter
上一篇: Python学习资源
下一篇: RC4 with Python
51591
51176
41679
38443
32930
29911
28618
23580
23514
21864
2018°
2729°
2281°
2208°
2681°
2235°
2981°
4917°
4774°
3392°