I don't have ready access to a Windows box, but my first guess based on the description is that the line-endings are \n
instead of \r\n
. Try piping the results to a text file and then open it in a programmer's editor (not Notepad).
python -m line_profiler RP.py.lprof > results.txt