On Wed, 8 Feb 2012 23:54:58 -0800 (PST) ken brockman <krush1...@yahoo.com> wrote: > I'm back on the list again, and if not too late, here is the asked > for trace. i've managed to replicate the original error msg, by > removing the pickled file Genfacts.p, from the directory. > Traceback (most recent call last): > File "/home/bob/Ninja/ArtyNOW2.py", line 120, in <module> Ginfo = > General_info() > File "/home/bob/Ninja/ArtyNOW2.py", line 69, in General_info file4 = > open("Genfacts.p", "rb") > IOError: [Errno 2] No such file or directory: 'Genfacts.p'
Because you have deleted "Genfacts.p" you are trying to open an non-existing file. So check if the file exists before opening it. Bye, Andreas _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor