Python Forum
shutils.get_terminal_size()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
shutils.get_terminal_size()
#5
i wasn't testing what i get from os.environ['COLUMNS'] because i didn't know they were specially modified. thanks for insight. i will recode it and test the variables within oython.

trying things to see how they behave is not a good way to depend on it being right. it might be wrong yet you want that wrong behavior. your test looked good. later it all breaks when they fix it (making it match documentation).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
shutils.get_terminal_size() - by Skaperen - Nov-28-2018, 10:01 PM
RE: shutils.get_terminal_size() - by Gribouillis - Nov-28-2018, 10:21 PM
RE: shutils.get_terminal_size() - by nilamo - Nov-28-2018, 10:22 PM
RE: shutils.get_terminal_size() - by wavic - Nov-29-2018, 12:37 AM
RE: shutils.get_terminal_size() - by Skaperen - Nov-29-2018, 01:32 AM
RE: shutils.get_terminal_size() - by wavic - Nov-29-2018, 08:35 AM
RE: shutils.get_terminal_size() - by nilamo - Nov-29-2018, 03:40 PM
RE: shutils.get_terminal_size() - by Skaperen - Dec-04-2018, 08:48 AM
RE: shutils.get_terminal_size() - by DeaD_EyE - Dec-04-2018, 12:33 PM
RE: shutils.get_terminal_size() - by Skaperen - Dec-07-2018, 03:46 AM
RE: shutils.get_terminal_size() - by Skaperen - Dec-10-2018, 05:37 AM
RE: shutils.get_terminal_size() - by DeaD_EyE - Dec-10-2018, 08:30 AM

Forum Jump:

User Panel Messages

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