:make
provides a list of errors which can be navigated through in order to fix.
The problem is that this script only works in Unix based OSes.
autocmd BufRead *.py set makeprg=python\ -c\ \"import\ py_compile,sys;\ sys.stderr=sys.stdout;\ py_compile.compile(r'%')\"
autocmd BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m
Anyone could help me make it work or provide the equivalent for Windows XP?