Re: hitting TAB inserts ./ in interactive mode ?

2010-09-20 Thread Ned Deily
In article <7b7f018e-b429-448b-94c1-2a812c5f3...@h37g2000pro.googlegroups.com>, Nik Krumm wrote: > The issue isn't with readline. The readline module or rlcompleter > module are both available, and loading them has no effect on the > behavior of tab: > > >>> import readline > [Now i hit tab...]

Re: hitting TAB inserts ./ in interactive mode ?

2010-09-20 Thread Nik Krumm
On Sep 18, 11:28 am, Ned Deily wrote: > In article , >  Lawrence D'Oliveiro wrote: > > > In message , Ned Deily > > wrote: > > >     try: > > >         importreadline > > >     except ImportError: > > >         print("Modulereadlinenot available.") > > >     else: > > >         import rlcompleter

Re: [OS X 10.5] hitting TAB inserts ./ in interactive mode ?

2010-09-18 Thread Ned Deily
In article , Lawrence D'Oliveiro wrote: > In message , Ned Deily > wrote: > > try: > > import readline > > except ImportError: > > print("Module readline not available.") > > else: > > import rlcompleter > > readline.parse_and_bind("tab: complete") >

Re: [OS X 10.5] hitting TAB inserts ./ in interactive mode ?

2010-09-18 Thread Lawrence D'Oliveiro
In message , Ned Deily wrote: > try: > import readline > except ImportError: > print("Module readline not available.") > else: > import rlcompleter > readline.parse_and_bind("tab: complete") > > Note the print() form which works with either Python 2 or

Re: [OS X 10.5] hitting TAB inserts ./ in interactive mode ?

2010-09-17 Thread Ned Deily
In article <431250b2-391e-4a1f-ba72-08afb7159...@l25g2000prn.googlegroups.com>, Nik Krumm wrote: > Thanks for your help. I installed python 2.7 on my Mac OS X 10.5.8 > machine: > > > nik$ python > Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > T

[OS X 10.5] hitting TAB inserts ./ in interactive mode ?

2010-09-17 Thread Nik Krumm
Hi all, Thanks for your help. I installed python 2.7 on my Mac OS X 10.5.8 machine: nik$ python Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. and now, when I hit TAB or paste in