Re: elementary tuple question. (sorry)

2007-04-06 Thread mik3l3374
On Apr 6, 5:31 am, "7stud" <[EMAIL PROTECTED]> wrote: > On Apr 5, 3:08 pm, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > > > I have a tuple that I got from struct.unpack. Now I want to pass the data > > from the returned tuple to struct.pack > > > >>> fmt > > > 'l 10l 11i h 4h c 47c 0l'>>>struct.pac

Re: elementary tuple question. (sorry)

2007-04-05 Thread 7stud
On Apr 5, 3:08 pm, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > I have a tuple that I got from struct.unpack. Now I want to pass the data > from the returned tuple to struct.pack > > >>> fmt > > 'l 10l 11i h 4h c 47c 0l'>>>struct.pack(fmt, tup) > > Traceback (most recent call last): >File "", l

Re: elementary tuple question. (sorry)

2007-04-05 Thread Gabriel Genellina
En Thu, 05 Apr 2007 18:08:14 -0300, Steven W. Orr <[EMAIL PROTECTED]> escribió: > I have a tuple that I got from struct.unpack. Now I want to pass the data > from the returned tuple to struct.pack > fmt > 'l 10l 11i h 4h c 47c 0l' struct.pack(fmt, tup) > Traceback (most recent call las

Re: elementary tuple question. (sorry)

2007-04-05 Thread attn . steven . kuo
On Apr 5, 2:08 pm, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > I have a tuple that I got from struct.unpack. Now I want to pass the data > from the returned tuple to struct.pack > > >>> fmt > > 'l 10l 11i h 4h c 47c 0l'>>>struct.pack(fmt, tup) > > Traceback (most recent call last): >File "", l