Dec-21-2017, 05:15 PM
You could
try
and catch NameError
. You shouldn't as this is almost definitely the wrong way to do whatever it is you are trying to do; but you could.