+ 2
what is an EOL while scanning string literal syntax error mean?
10 odpowiedzi
+ 6
@Joy
If this questions answers do not answer your query. Please create a new question and provide as much detail as possible.
Here is a document that may assist:
https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community
+ 3
pls i got an eol error on this line i dont know what is wrong
print('mynet.py -t 192.168.0.1 -p 5555')
can some one help me
+ 2
it means u eather forgot to close a ( ) or indentation
problems, check ur syntax!
+ 2
thank
+ 1
End Of Line I guess?
It might be because of multiline input handling
+ 1
This
+ 1
The "EOL while scanning string literal" error is an error that occurs in Python meaning that the line ended (end of line) before a quote was closed (or before some other required syntax was found):
https://www.256kilobytes.com/content/show/1506/fix-eol-while-scanning-string-literal
0
An EOL ( End of Line ) error indicates that the Python interpreter expected a particular character or set of characters to have occurred in a specific line of code, but that those characters were not found before the end of the line . This results in Python stopping the program execution and throwing a syntax error .
The SyntaxError: EOL while scanning string literal error in python occurs when while scanning a string of a program the python hit the end of the line due to the following reasons:
Missing quotes
Strings spanning multiple lines
Strings can't normally span multiple lines. If you don't want the string to appear on multiple lines but you want to initialize it on multiple lines (so you can read it more easily), you can "escape" the newline by putting a backslash before the newline. If you want it to appear on multiple lines, you can use triple quotes around the string.
http://net-informations.com/python/err/eol.htm