SyntaxFix
Write A Post
Hire A Developer
Questions
If you need to add two strings you have to use the '+' operator
hence
msg['Subject'] = 'your string' + sys.argv[1]
and also you have to import sys in the beginning
as
import sys msg['Subject'] = "Auto Hella Restart Report " + sys.argv[1]