[Tutor] creating a list of data . . .

Kirk Bailey idiot1 at netzero.net
Mon Aug 25 22:29:14 EDT 2003


Tuples are immutable. That means they cannot be changed, they can only be 
created or destroyed.

So do so. Kill it. and create it. In the process of creating it anew, do so with 
the extra data thrown in. A temporary variable would probably  be a good idea 
here to hold the old content of your tuple.

A libation to the lord Shiva is at this time appropriate to be offered. After 
pouring out a little, sip the rest while reading about tupples and their 
methods. May I reccomend Henessy XO for the brain lubrication fluid?






Futurug at aol.com wrote:

> Thank you for
>  
> I am absolutely new to programming with python, and I am learning quickly
>  
> I am trying to create a tuple with 14 data in.
>  
> my current code:
>  
>     frug = frug , rug
>  
> where frug is the final tuple and rug is the data I am trying to add
>  
> I curretly get all 14 fields of data, but it only lets me call up
>  
> I do not want to create one long string of data as the length of the 
> individual data fields can vary.
>  
> Thanks
>  
> Kenny Sodbuster
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 

-- 

end

Cheers!
         Kirk D Bailey

  +                              think                                +
   http://www.howlermonkey.net  +-----+        http://www.tinylist.org
   http://www.listville.net     | BOX |  http://www.sacredelectron.org
   Thou art free"-ERIS          +-----+     'Got a light?'-Promethieus
  +                              think                                +

Fnord.




More information about the Tutor mailing list