Comments

On Import Readline
Post Comment

Dash wrote:

Never heard of rlwrap before. Neat!

09 Aug 2023 22:51 UTC | #1 of 2 comments

Marek Madejski wrote:

readline seems to be incompatible with Windows:

error: this module is not meant to work on Windows

But there is a workaround: pyreadline3 module.

# Source - https://stackoverflow.com/a/51964654
# Posted by Lefteris Xris, modified by community.
# See post 'Timeline' for change history.
# Retrieved 2025-12-12, License - CC BY-SA 4.0

from pyreadline3 import Readline
readline = Readline()
12 Dec 2025 20:37 UTC | #2 of 2 comments
Post Comment