python import in try catch code example Example: try python import try: import os except: print('Can not import')