Hi, folks.

>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?

Thanks!
Don
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to