My problem is that when I run (for example) ifconfig on my terminal I got regular output as expected. However, when I use the subprocess module on Pych
ifconfig
subprocess