-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pyrc
44 lines (40 loc) · 851 Bytes
/
.pyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import string
import re
try:
from cStringIO import StringIO
except ImportError:
from io import StringIO
import datetime
import collections
from pprint import pprint
import itertools
import random
import functools
import os
import glob
import shutil
try:
import cPickle as pickle
except ImportError:
import pickle
import csv
import json
import hashlib
import pdb
import timeit
import trace
import sys
# https://jedi.readthedocs.io/en/latest/docs/usage.html
try:
from jedi.utils import setup_readline
except ImportError:
# Fallback to the stdlib readline completer if it is installed.
# Taken from http://docs.python.org/2/library/rlcompleter.html
try:
import readline
import rlcompleter
readline.parse_and_bind("tab: complete")
except ImportError:
pass
else:
setup_readline()