Python error pattern
Submitted by Sunday, 6 March, 2005 - 06:42
on
I do not know how to see Console Error patterns for Python 2.4. I do not know even regexp! I have searched this message board for answer but did not find him, just unanswered questions. So help us please!
Error and worning look like this:
D:\> python $f
sys:1: DeprecationWarning: Non-ASCII character '\xe8' in file D:\pywork\hashmap.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
___File "D:\pywork\hashmap.py", line 101
____pri nt hm.find(17)
_______^
SyntaxError: invalid syntax
Process python exited with code 1
D:\>
__ means leading spaces.
Error and worning look like this:
D:\> python $f
sys:1: DeprecationWarning: Non-ASCII character '\xe8' in file D:\pywork\hashmap.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
___File "D:\pywork\hashmap.py", line 101
____pri nt hm.find(17)
_______^
SyntaxError: invalid syntax
Process python exited with code 1
D:\>
__ means leading spaces.