[Tutor] general basic question

ken brockman krush1954 at yahoo.com
Thu Feb 9 08:54:58 CET 2012


Really close to it Robert. No delete but an error msg. Something akin to file dosen't exist, not found , or words to that effect .

Something "akin to"?



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'

elif choice == "g":
Ginfo = General_info()
print('General Info is: ',Ginfo)
# espeak routine General info
text = 'General Info is ', Ginfo
cmd = 'espeak -v en+f3 "{0}" 2>/dev/null'.format(text)
os.system(cmd)
elif choice == "p":  # Alt. choice != "q": incase anything uexpectd inputed
Thanks again
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120208/c19c49d1/attachment-0001.html>


More information about the Tutor mailing list