python - Why is this invalid syntax? -


Why is it complaining about an invalid syntax?

  #! / Usr / bin / python recipients = [] recipients to receive recipients.append ('chris@elserinteractive.com '): Print Expense  

I'm getting:

  file "send_test_email.py", line 31 print consonants ^ syntax error: invalid syntax 
post-text itemprop = "Text">

If you are using Python 3, then print is a function. Call it like this: Print (Viewer) .


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -