aboutsummaryrefslogtreecommitdiff
path: root/.pythonrc.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.pythonrc.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/.pythonrc.py b/.pythonrc.py
new file mode 100644
index 0000000..29373d4
--- /dev/null
+++ b/.pythonrc.py
@@ -0,0 +1,8 @@
+# ~/.pythonrc
+# enable syntax completion
+try:
+ import rlcompleter
+ rlcompleter.readline.parse_and_bind("tab: complete")
+except:
+ import readline
+ readline.parse_and_bind("tab: complete")