hey guys... sorry for bugging you all but i have 1 last question and i promise that will be it.
its probably simple but i just want to know how to go about raising a custom exception
the result it expects is:
Traceback (most recent call last):
...
Exception: Unrecognised label in elizas_response
but everything i try just fails :(
i tried
except Exception:
print "Unrecognised label in elizas_recollection"
raise
but that doesnt work either. if someone can please point me in the right direction i will be very grateful
Cheers!