> ..but say i wanted to define variable x as a global variable and then do > something else in the function how would i do that?
Try reading the namespaces topic in my tutor, it should give you the answers. Alan G Author of the learn to program web tutor http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor