Ok, let me start by saying I know that it is bad that I am using the goto module and I shouldn't be and blah blah blah. However, for this specific purpose I need it. Let me also say that I am new to Python so try to avoid complicated answers, thanks!
So with that out of the way let me now explain my issue (I am on Linux). When I run my little program, it runs fine until I hit my first string input. After I type in the string and press enter, it gives me this error:
Traceback (most recent call last):File "main.py", line 16, in <module>empid = input("Example Input: ")File "<string>", line 1, in <module>File "/usr/local/lib/python2.7/dist-packages/goto.py", line 255, in _trace_addToCaches(filename)File "/usr/local/lib/python2.7/dist-packages/goto.py", line 230, in _addToCachesin tokenize.generate_tokens(open(moduleFilename, 'r').readline):
IOError: [Errno 2] No such file or directory: '<string>'
I have tried reinstalling the module, reinstalling python, and I'm not too sure that string would really be incorporated into goto.py anyway.
Thanks,
Cether
EDIT: As requested, here is the code that leads up to the problem:
from goto import *
import time
import sys
import oslabel .start
os.system('clear')
print "Example Printout"exampin = input("Example Input: ")
The error happens when I press enter after I enter the string in that input.