When running the code from comman line I have no problem:
$ python mycode.py > output.txt
But running that very code from within VI editor raises warning:
:! python mycod.py > output.txt
/opt6/tools/python2.6.2/lib/python2.6/site-packages/numpy/oldnumeric/__init__.py:11: ModuleDeprecationWarning: The oldnumeric module will be dropped in Numpy 1.9
warnings.warn(_msg, ModuleDeprecationWarning)
Why is that and how to disable that from VI?