python tab completion in windows

后端 未结 3 442
广开言路
广开言路 2021-01-02 17:58

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

相关标签:
3条回答
  • 2021-01-02 18:45

    you could look at how ipython does it with pyreadline as well, maybe

    0 讨论(0)
  • 2021-01-02 18:54

    Do u have a look at PyReadline: a ctypes-based readline for Windows? Although 3rd-party packages is NOT your option, maybe it's useful for build one's own, isn't it:).

    0 讨论(0)
  • 2021-01-02 18:56

    Another possibility to check out is readline.py.

    0 讨论(0)
提交回复
热议问题