Using screenshots instead of error messages

Hi guys,

I see more and more people pasting error messages as images on here. Though it looks great, is doesn't help for search engines.
Just past the text you're looking at, maybe in a pre formatted.

Discourse also has syntax hilighting out of the box as well:

import sys

def main():
    print('hello world')

if __name__ == '__main__':

Suffixing the beginning triple backtick with the language you desire will do the trick.