Hi, I'd like to form a list of class instances. The following does not work (TextfieldLong, Textarea, TextfieldShort etc being class names):
fields = [ TextfieldLong(name='title', label='Seitentitel', value=''), Textarea(name='content', label='Inhalt', value=''), ShortField(name='mother_id', label='MotherID', value=1) ] Is there a way to create such a list? Thanks in advance, Jan -- Any sufficiently advanced technology is indistinguishable from a Perl script. - Programming Perl _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor