its sh-bang.
You wrote the command in shell, not in the python interpreter. If you add import sys to where import dbus is and run the modified script with: Code: python myscript.py it will tell you where the problem is.
python myscript.py
Yes, {{color}} only goes to the end of the current line for now. What you could do is set the global color to blue, and then prefix every line that you don't want to have in blue with the desired color. At least this works as long as you don't have any other multi-line fields (for scripts, you can modify them to output the color prefix on every line).