Re: python crash problem

2011-02-05 Thread John Machin
On Feb 3, 8:21 am, Terry Reedy wrote: > On 2/2/2011 2:19 PM, Yelena wrote: > . > > When having a problem with a 3rd party module, not part of the stdlib, > you should give a source. >    http://sourceforge.net/projects/dbfpy/ > This appears to be a compiled extension. Nearly always, when Python >

Re: python crash problem

2011-02-02 Thread Emile van Sebille
On 2/2/2011 11:19 AM Yelena said... This application has requested the Runtime to terminate it in an unusual way This is a MS message -- did you look in the application event viewer? Otherwise, you could try upping/reducing memory and confirm it dies later/earlier. Perhaps there's an at or

Re: python crash problem

2011-02-02 Thread Terry Reedy
On 2/2/2011 2:19 PM, Yelena wrote: I've been using python Which version? > to run some large database recently. I used dbfpy module to access some information stored in dbf format. When having a problem with a 3rd party module, not part of the stdlib, you should give a source. http://so

Re: python crash problem

2011-02-02 Thread Yelena
Here is the code, I edited out some private info: import sys import urllib2 import string import re import datetime from mx import DateTime from dbfpy import dbf addylist = ['add.dbf'] okset = ['P','L','I','B'] for addy in addylist: db = dbf.Dbf(addy) print (addy) count = len(db)