[Tutor] build list of non-empty variables
dfjennings at gmail.com
Tue Jul 8 15:14:40 CEST 2008
>From within a class, I want to return a string with data from non-empty
variables in a class.
I could create a list of all the variables and then iterate over them,
dropping the ones which are empty, then join() and return them; however, I
am guessing there is another way to get that list of variables or to
accomplish my goal. Suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor