Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
f-string for caller?
#1
is there a way to have a f-string in a function or method operate as if it were in the caller's context?
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
That sounds like a job for parameters.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
this?
Output:
parameters (0.2.1) - Management of large, hierarchical parameter sets for modelling and simulation
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
  in a function checking for caller errors Skaperen 3 2,247 Mar-04-2021, 05:00 AM
Last Post: Skaperen
  function to store in caller's context Skaperen 7 2,957 Jul-27-2020, 08:45 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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