Path completion in 'raw-input'?
johannes_graumann at web.de
Wed Mar 1 19:00:43 CET 2006
When interactively asking for a path on the cmdl, I'd like to go beyond just
'raw_input' and provide shell like path completion. My research has made me
believe that a combination of the cmd and glob modules is what I need, but
I find the doc HIGHLY unintuitive and wasn't able to come by any examples.
Does anybody have a code example for something like that lying around?
There's also the rlcompleter module, but in the interest of better platform
agnosis I'd like to stick with cmd ...
Thanks for any hints,
More information about the Python-list