How to debug python + curses? [was: RE: Applying winpdb_reborn]

Grant Edwards grant.b.edwards at gmail.com
Wed Jun 2 22:13:46 EDT 2021


On 2021-06-03, <pjfarley3 at earthlink.net> <pjfarley3 at earthlink.net> wrote:
>> -----Original Message-----
>> From: Grant Edwards <grant.b.edwards at gmail.com>
>> Sent: Monday, May 31, 2021 11:18 AM
>> To: python-list at python.org
>> Subject: Re: How to debug python + curses? [was: RE: Applying
> winpdb_reborn]
>> 
>> On 2021-05-31, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>> > On Mon, 31 May 2021 08:07:21 +1000, Cameron Simpson <cs at cskk.id.au>
>> > declaimed the following:
>> >
>> >
>> >>Open another terminal, note its terminal device with the "tty" command.
>> >>Start your programme like this:
>> >>
>> >>    python ...... 2>/dev/tty-of-the-other-termina
>> >
>> > 	The OP specified Win10, so the above is dead from the start.
>> 
>> Perhaps Windows isn't an appropriate OS under which to develop curses
>> applicatoins?
>
> Perhaps, but why isn't it?

1. Because it's (apparently) so difficult to debug Windows Python
   console programs from another window.

2. Because curses applications are very rare on Windows, yet are still
   quite common on Unix.

--
Grant



More information about the Python-list mailing list