Dennis Lee Bieber <[EMAIL PROTECTED]> writes: > On Thu, 26 May 2005 14:33:45 +0200, VK <"myname"@example.invalid> > declaimed the following in comp.lang.python: > >> Hi, all! >> >> In my programm i have to insert a variable from class 2 to class 1 and I >> get error NameError: global name 'd' is not defined. How do I get access >> to d.entry.insert() method of class 1 >> >> class 1: > <shudder> Does Python even allow numeric class names?
Fortunately, no: >>> class 1: File "<stdin>", line 1 class 1: ^ SyntaxError: invalid syntax -- -------------------------------------------------------------------- Aaron Bingham Software Engineer Cenix BioScience GmbH -------------------------------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list