Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'importerror:': 0.07; 'bash': 0.09; 'git': 0.09; 'python': 0.11; '2.7': 0.14; 'guys,': 0.16; 'subject:import': 0.16; 'thanks,': 0.17; 'bit': 0.19; 'module': 0.19; 'import': 0.22; 'shell': 0.22; 'error': 0.23; 'appreciated': 0.26; '2010,': 0.27; 'message-id:@mail.gmail.com': 0.30; 'lines': 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'operating': 0.37; 'skip:& 10': 0.38; 'auto': 0.38; 'to:addr :python-list': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'complete': 0.62; 'more': 0.64; 'note:': 0.66; 'jul': 0.74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5TfdMjMcANFXhBI5NGIsvtqeIWIXz/cCp+O2si6pAJc=; b=g3aHgP5YjhnQqUn3Ut4TtHoXNwgUefXFFaofAO7yAuu+LUAEyDezWNppN9VAcp0gSy 8rtsv7/Vop2ramLIm9L3jUYTUXVMLzcdFrT2qC9UAVxt5ni7K73IeASF5B6c+ao9B+SQ eCzprS38FIJ8voXd1ibEzKC7DPgRDxxnciEOH6PNT6CGiXWQGRAX4nnKMj2RqhHP2CSx 10G6EYaHak1TT5ZpHUdQGNLYueoXF6uHXVpQ3f5MAmGGkOP7p8ShM06cqFhc0oGu9c8a VTHa7PWj+FvdbkNnktoWYBgPCK0gfqhwbXakD4LJTzUj831Rgntt57aS1x82ONiVANlw pDaQ== MIME-Version: 1.0 X-Received: by 10.112.171.67 with SMTP id as3mr23458532lbc.10.1395219326741; Wed, 19 Mar 2014 01:55:26 -0700 (PDT) Date: Wed, 19 Mar 2014 14:25:26 +0530 Subject: unable to import rlcompleter readline From: muru kessan To: python-list@python.org Content-Type: multipart/alternative; boundary=001a11c2620c5ab0e804f4f1d099 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395219334 news.xs4all.nl 2850 [2001:888:2000:d::a6]:46714 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68541 --001a11c2620c5ab0e804f4f1d099 Content-Type: text/plain; charset=ISO-8859-1 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 import rlcompleter, readline ImportError: No module named readline Any help would be appreciated Thanks, muru --001a11c2620c5ab0e804f4f1d099 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
hi guys,
i want the python interactive shell to be aut= o complete and i found that by adding the following lines in PYTHONSTARTUP = file it is possible

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

<= /div>
but i get the following error in git bash shell
Note: i= run windows8 as Operating System

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

Any help would be appreciated= =A0

Thanks,
muru
--001a11c2620c5ab0e804f4f1d099--