python code inside; writing to WebOutputCheck.txt