Dim Processors(4) As ProcessorType
For j = 1 To 4 Step 1
Put #filenum, WritePos, Processors(j).byte0
WritePos = WritePos + 1
I'm in the process of translating this VBA code to python, and essentially what it does is creates 4 Processor Objects but as you can see from the for loop it allows the processor to be incremented to the next one so that it's byte0 from each processor is written.
How would you do this in python, any advice?