Re: Python curses

2023-01-10 Thread Nate Bargmann
* On 2023 10 Jan 13:38 -0600, pa...@quillandmouse.com wrote: > It may be argued that I shouldn't do the import this way. However, I > prefer to have "curses." in front of things imported. It makes the link > explicit, and serves to remind me of what's actually going on, when I > revisit the code in

Re: Python curses

2023-01-10 Thread paulf
gt; On Tue 10 Jan 2023 at 09:01:17 (-0500), pa...@quillandmouse.com > > > wrote: > > > > On Tue, 10 Jan 2023 08:34:05 -0500 Greg Wooledge > > > > wrote: > > > > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, > > > > >

Re: Python curses

2023-01-10 Thread David Wright
e > > > wrote: > > > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com wrote: > > > > > What you wrote triggered something. I'd been following the > > > > > Python curses docs, which tell you to write, for example, &g

Re: Python curses

2023-01-10 Thread Curt
On 2023-01-10, wrote: > > Follow-up question, in case you know this too: apparently, when you > purchase a Kindle book and read it via the Kindle app on your Android > phone, the document doesn't exist on the phone itself. I've https://pennbookcenter.com/where-are-kindle-books-stored-on-android/

Re: Python curses

2023-01-10 Thread paulf
> > wrote: > > > > What you wrote triggered something. I'd been following the > > > > Python curses docs, which tell you to write, for example, > > > > "A_REVERSE". And Python was throwing exceptions. But based on > > > > what you

Re: Python curses

2023-01-10 Thread Dan Ritter
pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 08:11:28 -0500 > Dan Ritter wrote: > > > The Debian package calibre contains: > > > > - an X11 application which is an all-singing, all-dancing > > library manager and ebook reader > > > > - a set of CLI-usable conversion utilities, most imp

Re: Python curses

2023-01-10 Thread David Wright
On Tue 10 Jan 2023 at 09:01:17 (-0500), pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 08:34:05 -0500 Greg Wooledge wrote: > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com wrote: > > > What you wrote triggered something. I'd been following the P

Re: Python curses

2023-01-10 Thread tomas
On Tue, Jan 10, 2023 at 02:48:26PM +, Tixy wrote: [...] > I doubt that's possible because I assume these things are protected > with DRM to stop people from copying them, or escaping the clutches of > Big Corp who want to monitor what you do in order to sell you more > stuff. I have yet to s

Re: Python curses

2023-01-10 Thread Tixy
On Tue, 2023-01-10 at 09:18 -0500, pa...@quillandmouse.com wrote: > Follow-up question, in case you know this too: apparently, when you > purchase a Kindle book and read it via the Kindle app on your Android > phone, the document doesn't exist on the phone itself. I've > plugged my phone into my PC

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 08:11:28 -0500 Dan Ritter wrote: > pa...@quillandmouse.com wrote: > > On Tue, 10 Jan 2023 21:29:31 +1100 > > David wrote: > > > > > On Tue, 10 Jan 2023 at 15:04, wrote: > > > > > > > > I'm trying to write some code in Python's curses module. > > > > > > Hi, > > > > > > T

Re: Python curses

2023-01-10 Thread tomas
On Tue, Jan 10, 2023 at 09:01:17AM -0500, pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 08:34:05 -0500 > Greg Wooledge wrote: > > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com > > wrote: > > > What you wrote triggered something.

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 08:34:05 -0500 Greg Wooledge wrote: > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com > wrote: > > What you wrote triggered something. I'd been following the Python > > curses docs, which tell you to write, for example, "A_

Re: Python curses

2023-01-10 Thread Greg Wooledge
On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com wrote: > What you wrote triggered something. I'd been following the Python > curses docs, which tell you to write, for example, "A_REVERSE". And > Python was throwing exceptions. But based on what yo

Re: Python curses

2023-01-10 Thread Dan Ritter
pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 21:29:31 +1100 > David wrote: > > > On Tue, 10 Jan 2023 at 15:04, wrote: > > > > > > I'm trying to write some code in Python's curses module. > > > > Hi, > > > > This kindle/paperback book [1][2] might also be of interest. > > > > Don't l

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 03:21:11 -0600 Nate Bargmann wrote: > * On 2023 09 Jan 22:05 -0600, pa...@quillandmouse.com wrote: > > Folks: > > I'm not python curses expert, but is what I found. > > > I'm trying to write some code in Python's curses module. I&#

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 21:29:31 +1100 David wrote: > On Tue, 10 Jan 2023 at 15:04, wrote: > > > > I'm trying to write some code in Python's curses module. > > Hi, > > This kindle/paperback book [1][2] might also be of interest. > Don't like Amazon's vendor lock with Kindle. Do you know of a sim

Re: Python curses

2023-01-10 Thread David
On Tue, 10 Jan 2023 at 15:04, wrote: > > I'm trying to write some code in Python's curses module. Hi, This kindle/paperback book [1][2] might also be of interest. Don't be discouraged by "amazon.com" or "book", the price is very low (showing $1.50 -- $6.00) as explained here [3]. Disclaimer: I

Re: Python curses

2023-01-10 Thread Nate Bargmann
* On 2023 09 Jan 22:05 -0600, pa...@quillandmouse.com wrote: > Folks: I'm not python curses expert, but is what I found. > I'm trying to write some code in Python's curses module. I've run into > common curses items like A_NORMAL which don't exist. When I do a

Python curses

2023-01-09 Thread paulf
Folks: I'm trying to write some code in Python's curses module. I've run into common curses items like A_NORMAL which don't exist. When I do a print(curses.version), it shows "b 2.2". This tells me that the Debian (testing) version of python curses is version 2.2

Python curses import error

1998-10-27 Thread Mike Orr
I'm trying to write my first Python curses program. The "Curses Programming with Python" HOWTO (A.M. Kychling, April 1998) says there are two modules, "curses" (Lance Ellinghouse) included with the Python distribution, and the enhanced "cursesmodule" (Oliver