Time-dependent method

2008-08-17 Thread hypermonkey2
Hi all! I was wondering if it is possible to call a method such that if it takes more than say 1 minute to complete, it will give up and do something else instead. Thanks in advance! -- http://mail.python.org/mailman/listinfo/python-list

"shelve" save object

2008-08-09 Thread hypermonkey2
Hi there! I am using the "shelve" module in a script to save information in between runtime sessions of the program. (its a sort of data collector, so its important to hold on to anything computed ). In any case, I shelve into a file "test.txt". I notice that when i try running the program on a di