Add dot files
This commit is contained in:
parent
4c384b75ea
commit
dc9990db3a
15 changed files with 1294 additions and 0 deletions
18
.pythonrc
Normal file
18
.pythonrc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import atexit
|
||||
import os
|
||||
import re
|
||||
import readline
|
||||
import rlcompleter
|
||||
import socket
|
||||
import _socket
|
||||
import sys
|
||||
import time
|
||||
import timeit
|
||||
|
||||
history = os.path.expanduser('~/.python_history')
|
||||
readline.read_history_file(history)
|
||||
readline.parse_and_bind('tab: complete')
|
||||
atexit.register(readline.write_history_file, history)
|
||||
|
||||
def t(*args):
|
||||
return timeit.Timer(*args).timeit()
|
||||
Loading…
Add table
Add a link
Reference in a new issue