Re: Is npyscreen still alive?

2023-04-24 Thread Tim Daneliuk via Python-list

On 4/24/23 11:32, Grant Edwards wrote:

On 2023-04-24, Grant Edwards  wrote:


The other big advantage of an ncurses program is that since curses
support is in the std library, a curses app is simpler to
distribute.  Right now, the application is a single .py file you
just copy to the destination machine and run.  It supports
command-line use and a Tk GUI. I can add an ncurses "CUI" without
having to either adopt a more complex bundling mechanism that
requires it to be "installed" or require that users install
dependencies via pip/apt/yum/whatever.


However... I just realized that Python's curses support is missing two
huge chunks: both menu and form support are not there.  I guess that
explains why people feel the need to write high-level UI wrappers for
Python curses: the high level stuff that curses does support is
missing from the Python bindings.

Adding a curses UI for my app might not be feasible after all...

--
Grant




That's because the Gods Of Ancient Internets knew that all you
ever really need is VT220 escape sequences ... unless you
are one of the heathens that still program in HLLAPI on 327x
machinery    (I kid, I kid, NO one needs that pain ...)

--
https://mail.python.org/mailman/listinfo/python-list


Re: Is npyscreen still alive?

2023-04-24 Thread Tim Daneliuk via Python-list

On 4/24/23 09:14, Stefan Ram wrote:

Grant Edwards  writes:

The other big advantage of an ncurses program is that since curses
support is in the std library, a curses app is simpler to distribute.


   IIRC curses is not in the standard library /on Windows/. I miss
   a platform independent (well, at least for Linux, Mac, and
   Windows) package with curses features in the standard library.





That's correct (or was, last time I looked).  For this reason, I
resorted to using tkinter for the twander file browser.  While
it works, the code needs a complete rethink and to be written
to be Python3 compatible.  Perhaps when/if that happens, something
like Textual need serious consideration.

tkinter works, but is showing its age.  So a fresher look without
all the burden of X and or requiring a browser, while also giving
you that option is appealing.
--
https://mail.python.org/mailman/listinfo/python-list


Re: any author you find very good has written a book on Python?

2022-09-07 Thread Tim Daneliuk via Python-list

On 9/5/22 21:22, Meredith Montgomery wrote:

I never read a book on Python.  I'm looking for a good one now.  I just
searched the web for names such as Charles Petzold, but it looks like he
never wrote a book on Python.  I also searched for Peter Seibel, but he
also never did.  I also tried to search for Richard Heathfield.  (I took
a look at his ``C Unleashed'' once and I liked what I saw.)  This is how
I search for books --- I go through the authors first.  Charles Petzold,
for instance, anything he writes is worth reading it.  (Have you given
his Annotated Turing a shot?  It's a very nice read.)

So that's my request --- any author you find very good has written a
book on Python?

It could be for in a certain specific context.  For instance, I also
searched for Hadley Wickham in the hope that he could have written a
data-science-type of book using Python.  I like his writing a lot, but
he also only seems to have written only for the R language.

Thank you!


David Beazley

--
https://mail.python.org/mailman/listinfo/python-list