Python Forum
"EOL While Scanning String Literal"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"EOL While Scanning String Literal"
#6
Oh LARZ60 - that is sooo cool! Thank you!

I tried it and it worked beautifully. My solution for saving the files is a totally different story. My clunky code referenced things your code removed. As such, I still have clunky code to save the completion files to my computer.

I've looked up the "yield" function and I understand (I think) why its effective here. Now I'm just at a loss as to how to save the files.

Something else I noticed, you don't import anything. I was under the impression you had to use BeautifulSoup among others to scrape data. re? requests? Everything I've read has said I needed these things. How do you get around it? Are these things not required?

Thank you for your time!
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 tjnichols - Apr-10-2018, 05:43 PM
RE: "EOL While Scanning String Literal" - by nilamo - Apr-12-2018, 03:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Literal beginner - needs help warriordazza 2 1,816 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