In this Python 3 Programming Tutorial, we cover the use of sockets to pass data around. Here, we have a server, which binds a socket and listens on the port we specify. Then, we are able to use telnet and communicate with our Python script, which takes our data, digests it, and replies.
Sample code for this basics series: http://pythonprogramming.net/beginner-python-programming-tutorials/
Python 3 Programming tutorial Playlist: http://www.youtube.com/watch?v=oVp1vrfL_w4
آی-ویدئو