Python Forum
a stack of elifs and a try/except
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a stack of elifs and a try/except
#2
I usually do any conversion with try/except first, then run through any if/elif chain for testing if it is valid after being converted.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
a stack of elifs and a try/except - by Skaperen - Sep-12-2019, 02:02 AM
RE: a stack of elifs and a try/except - by ichabod801 - Sep-12-2019, 02:31 AM
RE: a stack of elifs and a try/except - by Skaperen - Sep-12-2019, 11:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  simplifying a stack of elifs Skaperen 8 4,111 Aug-17-2019, 04:13 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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