Re: [Tutor] Array indexing

2007-01-16 Thread Joe Abbey
On 1/16/07, Dave Kuhlman <[EMAIL PROTECTED]> wrote: On Tue, Jan 16, 2007 at 11:28:49AM -0500, Joe Abbey wrote: > Hello, > > I'm using Active Python v2.4.3.11 on a Windows XP machine. > > Probably more relevant is that I'm just learning Python, as in I've been > writing Python for less than 24 ho

Re: [Tutor] Array indexing

2007-01-16 Thread Dave Kuhlman
On Tue, Jan 16, 2007 at 11:28:49AM -0500, Joe Abbey wrote: > Hello, > > I'm using Active Python v2.4.3.11 on a Windows XP machine. > > Probably more relevant is that I'm just learning Python, as in I've been > writing Python for less than 24 hours. > > While trying to implement a PE parser, I ra

Re: [Tutor] Array indexing

2007-01-16 Thread Danny Yoo
> While trying to implement a PE parser, I ran into the following problem: > > #** START CODE*** > data = file.read(128); > directoryTable = struct.unpack('', data); > i=0; > print "Export table 0x%08X + 0x%08x" % (directoryTable