Hi!
I have a really long binary file that I want to read.
The way I am doing it now is:
for i in xrange(N): # N is about 10,000,000
time = struct.unpack('=', infile.read(8))
# do something
tdc = struct.unpack('=LiLiLiLi',self.lmf.read(32))
# do something
Each loop takes about
Wow, thank you all!
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> En Tue, 01 May 2007 05:22:49 -0300, eC <[EMAIL PROTECTED]> escribió:
>
>> On Apr 30, 9:41 am, Steven D'Aprano <[EMAIL PROTECTED]>
>> wrote:
Hi!
I am opening files using the wx.FileDialog in wxPython.
I want to modify the FileDialog such that some information about a
highlighted file is displayed before I decide to open the file.
This is what I tried:
class ModifiedFileDialog(wx.FileDialog):
def __init__(self,parent,message,wildca