Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curses script doesn't work
#2
Alright, it seems that this behaviour is ok?!
Quote:Writing outside the window, subwindow, or pad raises curses.error. Attempting to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the string is printed.

I don't get it. Why is that? And how to solve it?
If I catch the exception the script just crashes again except I don't see the useless error message. And it ends with the shell prompt

except curses.error:
    pass
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
Curses script doesn't work - by wavic - Jan-08-2021, 03:49 PM
RE: Curses script doesn't work - by wavic - Jan-08-2021, 09:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP doesn't work YKR 1 790 Mar-28-2025, 02:10 PM
Last Post: snippsat
  I'm trying to install python 3.11.11 on windows 10 - it doesn't work Petonique 2 2,500 Feb-04-2025, 05:42 PM
Last Post: snippsat
  I want to be able to scroll up in curses to see previous text. Caiden 2 2,337 Jul-11-2024, 02:21 PM
Last Post: bsmorgan
  Extending list doesn't work as expected mmhmjanssen 2 1,549 May-09-2024, 05:39 PM
Last Post: Pedroski55
  Why doesn't calling a parent constructor work with arbitrary keyword arguments? PurposefulCoder 4 2,082 Jun-24-2023, 02:14 PM
Last Post: deanhystad
  Why doesn't this code work? What is wrong with path? Melcu54 7 3,775 Jan-29-2023, 06:24 PM
Last Post: Melcu54
  color code doesn't work harryvl 1 1,937 Dec-29-2022, 08:59 PM
Last Post: deanhystad
  client.get_all_tickers() Doesn't work gerald 2 2,767 Jun-16-2022, 07:59 AM
Last Post: gerald
  pip doesn't work after Python upgrade Pavel_47 10 7,170 May-30-2022, 03:31 PM
Last Post: bowlofred
  Make my py script work only on 1 compter tomtom 14 6,643 Feb-20-2022, 06:19 PM
Last Post: DPaul

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020