[Tutor] data structures in python?

Jeff Peery jeffpeery at yahoo.com
Tue Nov 30 01:33:54 CET 2004


hello, this makes three questions today... phew!
 
is there something similar in python to a data structure in C? Would this be like creating a new module, or a new object? I have an object that is associated with several different variables and I want to arrange my data as if it were a structure so I can call object1.variable1 or object1.variable2 or object1000.variable1[5] etc. it would be much easier to keep track indexing and whatnot this way. thanks.
 
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20041129/18b20f0b/attachment.html


More information about the Tutor mailing list