Python Forum
script wanted: clock for text mode screen
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script wanted: clock for text mode screen
#1
i would like to see someone write a script to draw a big digital clock on the full text mode screen, updated as fast as it can, but not faster than every second.  it should fit the screen, whatever size it is (i have code to get the screen size in linux).  it should display 6 digits or either 4 or 6 digits if there some option to display the other number of digits (i want to display 6 digits one way or another).  showing the date (in ISO format, YYYY-MM-DD) in normal characters in the lower left corner is a plus.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
https://github.com/tenox7/aclock

oh wait you said digital clock, nevermind thats too easy.
Recommended Tutorials:
Reply
#3
easy... maybe! the font scaling to fit the screen could be hard. one possible way would be to do it graphically not displayed in a buffer with pixels for each character, extract the pixels, print characters for each pixel. i want to see what someone comes up with. my text screen is not 80x24 like a lot of people might have. some are 166x46 and some are 184x50.
Tradition is peer pressure from dead people

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  script wanted: UNboxing database output Skaperen 0 1,677 Oct-27-2018, 03:04 AM
Last Post: Skaperen
  looking for a GUI digital clock Skaperen 4 6,129 Oct-09-2018, 07:17 AM
Last Post: Axel_Erfurt
  command line progam wanted: clock Skaperen 2 2,674 Apr-18-2018, 06:54 AM
Last Post: Gribouillis
  script wanted: print the command Skaperen 5 4,104 Dec-12-2017, 12:02 AM
Last Post: wavic
  script wanted: ping and wait Skaperen 0 2,278 Dec-10-2017, 05:16 AM
Last Post: Skaperen
  my cheap chinese clock Skaperen 0 2,706 Nov-05-2017, 08:20 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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