as with all things and in pythonit' easier to ask forgiveness than permission try and perform an operationif all goes wellgreatif notask for forgiveness this is typically done with try/except the faq is worthwhile read