In this chapter, I give you a sample of the various ways in which Python can help you write programs that use a network, such as the Internet, as an important component. Python is a very powerful tool for network programming. Many libraries for common network protocols and for various layers of abstractions on top of them are available, so you can concentrate on the logic of your program, rather than on shuffling bits across wires. Also, it’s easy to write code for handling various protocol formats that may not have existing code, because Python is really good at tackling patterns in byte streams ...
© Magnus Lie Hetland 2017
Magnus Lie Hetland, Beginning Python, 10.1007/978-1-4842-0028-5_14
14. Network Programming
Magnus Lie Hetland1
(1)Trondheim, Norway
Get Beginning Python: From Novice to Professional, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.