Python Forum
SyntaxError: EOL while scanning string literal
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SyntaxError: EOL while scanning string literal
#11
I've not used this module, but have you manually gone into the registry and verified the entry at HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\*program_name* actually exists and has a key with "Image Path"?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#12
Double Backslashed fixes the issue thank you. Sparkz I used RtkAudioService for the raw input and it came up fine now. Now trying to figure out how to get this to run as an exe.
Reply
#13
Thanks for the update, you'd be surprised how many people don't do that. I've never had need to create an executable, but 'py2exe' comes to mind for some reason.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#14
That's what im looking at now.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 6,166 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  trying to understand a string literal in a basic server program CompleteNewb 4 2,044 Nov-14-2021, 05:33 AM
Last Post: deanhystad
  EOF while scanning triple-quoted string literal louis216 1 3,884 Jun-30-2020, 04:11 AM
Last Post: bowlofred
  invalid literal for int() with base 10: '' mrsenorchuck 5 5,327 Apr-29-2020, 05:48 AM
Last Post: markfilan
  Syntax Error EOL while scanning string literal intjuma 0 2,464 Jun-28-2019, 01:56 AM
Last Post: intjuma
  SyntaxError: EOL while scanning string literal on with open() statement Regulus 3 7,314 Feb-23-2018, 06:40 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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