On 16/05/13 19:17, 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.
First, don't run programs on real data using IDLE. IDLE is for developing programs not running them.
Second, 5-10 minutes is not that long, how do you know it had stopped? Do you have progress markers printed that stopped printing? If not I suggest you add them - just a dot after each file (or each 10, 100, etc files) will do. Have you checked Task Manager (assuming windows, top on *nix) to see if the process is still using CPU?
-- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor