User contributions for Mr. MacKenty

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

30 March 2023

28 March 2023

  • 09:3509:35, 28 March 2023 diff hist +1,335 N Date and times with PythonCreated page with "<syntaxhighlight lang="python"> import datetime # to get the current date and time: print(datetime.datetime.now()) # to get the current date: print(datetime.date.today()) # to get the current time: print(datetime.datetime.now().time()) # to get the current year: print(datetime.datetime.now().year) # to get the day of the week: print(datetime.datetime.now().weekday()) # to print the day of the week: print(datetime.datetime.now().strftime("%A")) # to ask the user to..." current
  • 09:3409:34, 28 March 2023 diff hist +33 Python→‎Basic ideas current

23 March 2023

21 March 2023

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)