Python 100 project #23: NC with Python3

This project is a starting point for networking tweak with python3. I found there are quite a good tutorial and books around python2 regarding network wrangling, but I thought lots of them are not updated for the use with python3. At first, I just made a small modification of netcat on python2, and made it run with python3.

 

Output Example:

 

Here is the code: