• Python curses missing form library?

    From Grant Edwards@21:1/5 to All on Mon Apr 24 09:26:29 2023
    Does the Python curses support in the standard library not include
    support for the curses form library? It seems to include support for
    the panel library, but I can't find any mention of the form library.

    I see in the docs that menu support is still missing. :/

    --
    Grant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Gauld@21:1/5 to Grant Edwards on Mon Apr 24 19:36:51 2023
    On 24/04/2023 17:26, Grant Edwards wrote:
    Does the Python curses support in the standard library not include
    support for the curses form library? It seems to include support for
    the panel library, but I can't find any mention of the form library.

    I don't believe so. If you are building terminal based form-type
    apps the best bet seems to be urwid. I haven't used it in anger
    but the beginner docs I saw looked promising.

    --
    Alan G
    Author of the Learn to Program web site
    http://www.alan-g.me.uk/
    http://www.amazon.com/author/alan_gauld
    Follow my photo-blog on Flickr at:
    http://www.flickr.com/photos/alangauldphotos

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to Alan Gauld on Mon Apr 24 11:55:34 2023
    On 2023-04-24, Alan Gauld <learn2program@gmail.com> wrote:
    On 24/04/2023 17:26, Grant Edwards wrote:
    Does the Python curses support in the standard library not include
    support for the curses form library? It seems to include support for
    the panel library, but I can't find any mention of the form library.

    I don't believe so. If you are building terminal based form-type
    apps the best bet seems to be urwid. I haven't used it in anger
    but the beginner docs I saw looked promising.

    urwid does indeed look nice, but it would require doing the whole
    bundling and installing thing. I was hoping to avoid that by sticking
    with stdlib and curses.

    --
    Grant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)