something like this could work: Code: try: import hildon except ImportError: do something
try: import hildon except ImportError: do something