[Tutor] Python Idle Crashing

Prasad, Ramit ramit.prasad at jpmorgan.com
Thu May 16 22:03:48 CEST 2013


Dave Angel wrote:
> On 05/16/2013 02:17 PM, kyle seebohm wrote:
> > I recently created a program that searches through a computer's drive to make a list of all the
> files in that drive. However, the drive I am attempting to parse through is extremely large and when I
> run my program, it runs for about 5 or 10 minutes then proceeds to not respond and not finish parsing
> through the entire drive. Is there a way around this or does the drive just contain too many files?
> >
> >
> >
> 
> Not clear why you would think that Idle had anything to do with it.  It
> didn't crash, it hung, or maybe is just taking a very long time, or
> maybe it has an infinite loop in the code, or you're thrashing after
> filling up memory?
> 
> Still, if you think it was IDLE, it's simple to just run the program
> without IDLE.
> 
> What's your environment, besides "extremely large drive"?  What OS, what
> version of Python?  And what's your code look like?
> 
> What does top say?  Is the disk light still blinking?  Do you have any
> symbolic links and does your code handle them correctly?
> 

Also, what version of Python? What OS? What file system? Do you have any 
logging (actual logs or even just print statements to console)?


~Ramit


This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  


More information about the Tutor mailing list