Forum Discussion

dhirendranaga's avatar
Occasional Contributor
9 years ago

How to verify that import in Python is successful

Have an import in a function that is called multiple times and this function is called only as required, sample is below.   def importTest()   import time   statement1   statement2   def Test(...