Python Forum
using a try/except in a conditional expression
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using a try/except in a conditional expression
#10
what i was trying to think through was finding a way to write an expression and pass it to a function to be evaluated in some context to be determined. somehow, evaluating it in the function would be different, such as in a try/except or in a loop or in a conditional or with variables changed by the function, instead of the usual evaluation in the caller's context and passing the value.
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
RE: using a try/except in a conditional expression - by Skaperen - Sep-06-2019, 10:26 PM

Forum Jump:

User Panel Messages

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