I\'m writing a cross-platform shell like program in python and I\'d like to add custom tab-completion actions. On Unix systems I can use the built-in readline module and use
you could look at how ipython does it with pyreadline as well, maybe