I'm trying to print out an output from this line of code:
subprocess.check_output('cmd.exe /K cmd',shell=False)
But the output is something like this
**Microsoft Windows [Version 6.3.9600]\r\n(c) 2013 Microsoft Corporation. All rights reserved.\r\n\r\nC:\\Users\\19leungc8\\Desktop>\r\nC:\\Users\\19leungc8\\Desktop>**
Instead of this :
**Microsoft Windows [Version 6.3.9600]**
**(c) 2013 Microsoft Corporation. All rights reserved.**
I'll supply more information if required.