Python Forum
instructing f-string over format()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
instructing f-string over format()
#2
i'm still looking forward to learning f-string. i can, now that i am upgraded to 3.6.8 system-wide.

i really don't understand why it was done as a data type, instead of regular strings using a function or method to produce a resulting string. or as new features for .format() with a single argument. maybe i want to read an f-string layout from a database, such as for different word order in different languages or different business markets. how can i do that? what if i am dealing with bytes (which have no .format)?
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
instructing f-string over format() - by metulburr - Jul-13-2019, 12:27 AM
RE: instructing f-string over format() - by Skaperen - Jul-13-2019, 02:03 AM

Forum Jump:

User Panel Messages

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