Baffled by readline module
2QdxY4RzWzUUiLuE at potatochowder.com
2QdxY4RzWzUUiLuE at potatochowder.com
Thu Mar 9 22:23:23 EST 2023
On 2023-03-09 at 19:11:56 -0800,
Grant Edwards <grant.b.edwards at gmail.com> wrote:
> On 2023-03-10, 2QdxY4RzWzUUiLuE at potatochowder.com <2QdxY4RzWzUUiLuE at potatochowder.com> wrote:
> If you run this application from the command line, you get command
> recall and editing when entering strings at the "cmd:" prompt?
>
> #!/usr/bin/python
> while True:
> try:
> line = input('cmd: ')
> except EOFError:
> print()
> break
> print('You entered "%s"' % line)
In my case, no.
More information about the Python-list
mailing list