Saturday, March 12, 2011

The Subprocess Module

I think I'll use the subprocess module to automatically verify those 404s errors. I'll open each of the link in a new tab in chrome, possibly from the computer lab, and manually verify most of them. If none of them actually contain data, I wouldn't think there's need to check all of the others.

A weird thing happened now. The program kept stopping saying it couldn't access one of the files it was supposed to access regularly. I think it's an antivirus feature that it is causing my program not to have repetitive access to my files. Alternatively it might be some other program running on my computer trying to access the same file. Weird anyway. It didn't bother me for about 5 hours and then all of a sudden I can't open a file a few times in a row.

I moved the execution of the program to a linux machine, so I can also test the portability my program. I might choose to let the program run there all night and check on it tomorrow morning if I don't have to have my computer on as well.

anyway, I hope it doesn't freeze over there neither cause that would mean there's some other kind of bug in my program, but I really don't think it will happen.

No comments:

Post a Comment