I have an annoying problem. I have a windows batch file, that does some initialization (mainly setting python paths) and then calls a python script. When the batch program is run, another window is opened for the python program. The problem is, whenever there is an error in the python program, window of course closes and I can't see the error, as I'm immediately returned to the original cmd window from where I called the batch script.
How can I pipe or display python errors in the cmd window?