Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68541 > unrolled thread

unable to import rlcompleter readline

Started bymuru kessan <murukessanap@gmail.com>
First post2014-03-19 14:25 +0530
Last post2014-03-19 14:25 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  unable to import rlcompleter readline muru kessan <murukessanap@gmail.com> - 2014-03-19 14:25 +0530

#68541 — unable to import rlcompleter readline

Frommuru kessan <murukessanap@gmail.com>
Date2014-03-19 14:25 +0530
Subjectunable to import rlcompleter readline
Message-ID<mailman.8274.1395219334.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

hi guys,
i want the python interactive shell to be auto complete and i found that by
adding the following lines in PYTHONSTARTUP file it is possible

import rlcompleter, readline
readline.parse_and_bind('tab: complete')

but i get the following error in git bash shell
Note: i run windows8 as Operating System

Python 2.7 (r27:82525, Jul  4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)]
on win
32
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
  File "C:\muru work 05-nov-2013\python\start.py", line 6, in <module>
    import rlcompleter, readline
ImportError: No module named readline

Any help would be appreciated

Thanks,
muru

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web