I am pretty new to Python, I am using Python-2.7.3, after searching and coming up empty I figured I would ask the community. 

I am trying to basically capture each iteration to a variable, so I can use that variable as the body of my email. I do not want to write a file and then use that as my body. 

I have tried this with no luck:

```
    for sourceFile in sortedSourceFiles:
        print "Checking '%s' " % sourceFile += MsgBody

```

Here is what I get when I run it:

```
  File "check_files_alert.py", line 76
    print "Checking '%s' " % sourceFile += MsgBody
                                         ^
SyntaxError: invalid syntax

```

Sorry for the newbie question.  

Thanks