Mark Tarver <dr.mtar...@ukonline.co.uk> wrote:

> Great; and how can I test to see if a global is bound?
> 
> e.g Lisp
> 
>> (setq *g* 0)
> 0
> 
>> (boundp '*g*)
> t

By trying to access it and catching the NameError exception if it isn't 
defined.


-- 
Duncan Booth http://kupuguy.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to