Hi Guys!
I'd like to stop the loading of a module if some modules dependencies arent on machine, how can i do that?
try:
import lxml
except:
print "This module requires lxml"
# WHAT SHOULD I PUT HERE TO STOP MODULE LOADING?
class foo:
pass