no, no, the values are coming from all over the place, so having to remember
which member of the list that function is tied to may be more of a headache

I get the technique though








On 7/12/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote:

elis aeris wrote:
> oh in this case they actually aren't possible to be listized, because
> they are just place holders for quite a number of other names of
> variables and stuff :)
That is untrue.
You can put any variables into a list that you want.
For example:
x = 'hello'
b = 42
abba = 0xABBA

Then you can do this:
mylist = [x,b,abba]
and print from the list.

-Luke

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

Reply via email to