[Tutor] I/O error (?)
elis aeris
hunter92383 at gmail.com
Wed Jul 11 22:26:37 CEST 2007
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 <rabidpoobear at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070712/b0ca8566/attachment.htm
More information about the Tutor
mailing list