Add dot files

This commit is contained in:
Joey Payne 2017-02-05 11:03:44 -07:00
commit dc9990db3a
15 changed files with 1294 additions and 0 deletions

18
.pythonrc Normal file
View 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()