Python Forum
What is this formatting called?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is this formatting called?
#1
Here's some brief code from an online Python exercise:

exam_st_date = (11,12,2014)
print( "The examination will start from : %i / %i / %i"%exam_st_date)
What is this type of formatting called? I want to learn more about it as I couldn't come up with any other way to extract and/or convert the specified date tuple into mm/dd/yyyy format (i.e. using datetime methods). Thanks!
Reply


Messages In This Thread
What is this formatting called? - by Mark17 - Dec-14-2020, 08:18 PM
RE: What is this formatting called? - by Mark17 - Dec-14-2020, 08:23 PM
RE: What is this formatting called? - by snippsat - Dec-14-2020, 08:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple variable inputs when only one is called for ChrisDall 2 1,326 Oct-20-2023, 07:43 PM
Last Post: deanhystad
  Couldn't install a go-game called dlgo Nomamesse 14 6,839 Jan-05-2023, 06:38 PM
Last Post: Nomamesse
  how can a function find the name by which it is called? Skaperen 18 6,861 Aug-24-2022, 04:52 PM
Last Post: Skaperen
  function with 'self' input parameter errors out with and without 'self' called dford 12 8,579 Jan-15-2022, 06:07 PM
Last Post: deanhystad
  Class Instances called in the wrong order IanIous 4 4,213 Mar-06-2020, 02:16 PM
Last Post: IanIous
  How do you add the results together each time a function is called? Exsul 10 7,354 Aug-09-2019, 09:18 PM
Last Post: ichabod801
  Called Functions Not Working WhatAmIDoing09 3 3,554 Jul-12-2019, 07:02 PM
Last Post: ichabod801
  Getting error when called through instance method aankrose 2 3,453 Mar-02-2019, 07:19 PM
Last Post: aankrose
  How is space of variables/functions/objects... called? j.crater 4 6,323 Dec-19-2016, 12:24 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

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