Re: Allow tab completion when inputing filepath?

2008-07-10 Thread Sion Arrowsmith
Keith Hughitt  <[EMAIL PROTECTED]> wrote:
>> Keith Hughitt wrote:
>> >  [ ... ] I have
>> > found some ways to enable tab completion for program-related commands,
>> > but not for system filepaths.
>Currently Unix/Console.

What's wrong with the readline module?
http://docs.python.org/lib/module-readline.html

-- 
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
-- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
--
http://mail.python.org/mailman/listinfo/python-list

Re: Allow tab completion when inputing filepath?

2008-07-10 Thread Tim Golden

Keith Hughitt wrote:

On Jul 9, 10:18 am, Tim Golden <[EMAIL PROTECTED]> wrote:

Keith Hughitt wrote:

I've been looking around on the web for a way to do this, but so far
have not come across anything for this particular application. I have
found some ways to enable tab completion for program-related commands,
but not for system filepaths. This would be nice to have when
prompting the user to enter a file/directory location.

What platform are you on? And what kind of display?
(Console / GUI / wxPython / Qt / Web...)

TJG


Hi TJG,

Currently Unix/Console. Although I don't have any plans at the moment
to add a GUI, it would be great if a cross-platform solution existed.


Ah. Not my area then, I'm afraid :( I mostly do Windows stuff.
However, I don't remember ever coming across a standard way
of doing this, although it shouldn't be too hard to roll your own.

TJG
--
http://mail.python.org/mailman/listinfo/python-list


Re: Allow tab completion when inputing filepath?

2008-07-09 Thread Keith Hughitt
On Jul 9, 10:18 am, Tim Golden <[EMAIL PROTECTED]> wrote:
> Keith Hughitt wrote:
> > I've been looking around on the web for a way to do this, but so far
> > have not come across anything for this particular application. I have
> > found some ways to enable tab completion for program-related commands,
> > but not for system filepaths. This would be nice to have when
> > prompting the user to enter a file/directory location.
>
> What platform are you on? And what kind of display?
> (Console / GUI / wxPython / Qt / Web...)
>
> TJG

Hi TJG,

Currently Unix/Console. Although I don't have any plans at the moment
to add a GUI, it would be great if a cross-platform solution existed.

Keith
--
http://mail.python.org/mailman/listinfo/python-list


Re: Allow tab completion when inputing filepath?

2008-07-09 Thread Tim Golden

Keith Hughitt wrote:

I've been looking around on the web for a way to do this, but so far
have not come across anything for this particular application. I have
found some ways to enable tab completion for program-related commands,
but not for system filepaths. This would be nice to have when
prompting the user to enter a file/directory location.


What platform are you on? And what kind of display?
(Console / GUI / wxPython / Qt / Web...)

TJG
--
http://mail.python.org/mailman/listinfo/python-list



Allow tab completion when inputing filepath?

2008-07-09 Thread Keith Hughitt
Hi all,

I've been looking around on the web for a way to do this, but so far
have not come across anything for this particular application. I have
found some ways to enable tab completion for program-related commands,
but not for system filepaths. This would be nice to have when
prompting the user to enter a file/directory location.

Any suggestions?

Thanks,
Keith
--
http://mail.python.org/mailman/listinfo/python-list