Python Forum
finding yesterday and tomorrrow without using date.time module
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
finding yesterday and tomorrrow without using date.time module
#11
(Feb-24-2019, 06:57 PM)apexman Wrote: much thanks for all the replies.
Please, get a glance to this enhancement: the use of getch() to stop output on the screen, as per attachments. Cheers
[Image: vtGYAhLu]
# ------- mycal.py ----------
import calendar
import os, platform
import msvcrt
#
def getch():
        msvcrt.getch()
#
calendar.prcal(2019)
print("Type a key to exit!")
getch()
print("Okay")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using zipfile module - finding folders not files darter1010 2 251 Apr-06-2024, 07:22 AM
Last Post: Pedroski55
  Compare current date on calendar with date format file name Fioravanti 1 214 Mar-26-2024, 08:23 AM
Last Post: Pedroski55
  Date Time Series Help...Please spra8560 2 352 Feb-01-2024, 01:38 PM
Last Post: spra8560
  Python date format changes to date & time 1418 4 588 Jan-20-2024, 04:45 AM
Last Post: 1418
  Downloading time zone aware files, getting wrong files(by date))s tester_V 9 1,017 Jul-23-2023, 08:32 AM
Last Post: deanhystad
  Formatting a date time string read from a csv file DosAtPython 5 1,253 Jun-19-2023, 02:12 PM
Last Post: DosAtPython
  Problem with module time and leap seconds Pedroski55 3 1,237 Oct-07-2022, 11:27 PM
Last Post: Pedroski55
  Wait til a date and time KatManDEW 2 1,418 Mar-11-2022, 08:05 PM
Last Post: KatManDEW
  Module 'time' has no attribute 'clock' Sophie 4 3,105 Jan-25-2022, 08:05 PM
Last Post: Sophie
  Date format and past date check function Turtle 5 4,233 Oct-22-2021, 09:45 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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