Need Python failsafe help
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.

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