Need Python failsafe help
By
tengarp
in Programming
in Programming
Go to solution
Solved by madknight3,
This should help
What's the canonical way to check for type in python?
Python - Determine the type of an object?
There's also the saying "it's better/easier to ask for forgiveness than permission". Some people like to apply this to coding in certain situations. Basically, work with the information as if it was correct and use a try/except statement to handle when things go wrong.
-
Featured Topics
-
Topics
-
alexfic ·
Posted in New Builds and Planning3 -
1
-
BryanOttawaDetroit ·
Posted in General Discussion1 -
2
-
2
-
GoStormPlays ·
Posted in WHALE LAN1 -
GoStormPlays ·
Posted in General Discussion6 -
9
-
jordan_wills ·
Posted in New Builds and Planning2 -
5
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now