Python Forum
"EOL While Scanning String Literal"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"EOL While Scanning String Literal"
#20
Ok - this is awesome but I get the following error...

Error:
Traceback (most recent call last): File "C:/Python Tutorials/LARS with API.py", line 97, in <module> GetCompletions('apis.txt') File "C:/Python Tutorials/LARS with API.py", line 19, in __init__ with self.infile.open() as f: File "C:\Python 36\lib\pathlib.py", line 1181, in open opener=self._opener) File "C:\Python 36\lib\pathlib.py", line 1035, in _opener return self._accessor.open(self, flags, mode) File "C:\Python 36\lib\pathlib.py", line 387, in wrapped return strfunc(str(pathobj), *args) FileNotFoundError: [Errno 2] No such file or directory: 'text\\apis.txt'
Any ideas?

I hope you've had a good weekend!

T
Reply


Messages In This Thread
"EOL While Scanning String Literal" - by tjnichols - Apr-09-2018, 09:49 PM
RE: "EOL While Scanning String Literal" - by wavic - Apr-09-2018, 10:29 PM
So simple! - by tjnichols - Apr-09-2018, 11:14 PM
RE: "EOL While Scanning String Literal" - by nilamo - Apr-12-2018, 03:57 PM
RE: "EOL While Scanning String Literal" - by tjnichols - Apr-15-2018, 11:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Literal beginner - needs help warriordazza 2 1,875 Apr-27-2020, 11:15 AM
Last Post: warriordazza

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020