python syntax error file stdin