This commit is contained in:
anon
2023-10-26 05:11:18 +02:00
parent a0546e929c
commit 4fdfe411da
4 changed files with 143 additions and 1 deletions

14
python/.pythonrc Normal file
View File

@ -0,0 +1,14 @@
import os
import atexit
import readline
histfile = os.path.join(os.environ['HOME'], "mm/Python/Pythonrc", '.python_history')
try:
readline.read_history_file(histfile)
except IOError:
print('I/O Error while reading history file "' + histfile + '"')
atexit.register(readline.write_history_file, histfile)
del os, histfile, readline