Jump to ratings and reviews
Rate this book

Python Network Programming Cookbook

Rate this book
An easy-to-follow guide full of hands-on examples on real-world networking tasks. It covers the advanced topics of network programming in Python using a set of selected recipes. If you are a network programmer, system/network administrator, or a web application developer, this book is ideal for you. You should have a basic familiarity with the Python programming language and TCP/IP networking concepts. However if you are a novice, you will develop an understanding of the concepts as you progress with this book. This book will serve as a supplementary material for developing hands-on skills in any academic course on network programming.

234 pages, Paperback

First published January 1, 2014

6 people are currently reading
41 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (14%)
4 stars
6 (28%)
3 stars
7 (33%)
2 stars
4 (19%)
1 star
1 (4%)
Displaying 1 - 4 of 4 reviews
Profile Image for Abhinav Singh.
Author 37 books6 followers
November 9, 2014
The book has quick recipes and follows a good format of solving problems in a cookbook style. The initial chapters are well written and easy to follow.
Pros:
Quick tips
Quality coding (following OOP)

Cons:
The recipes of later chapters like Programming with HTTP, Screen-scraping have very specific recipes which might not be useful in real life. Author could have made those recipes more generic by generalizing the scripts.
Profile Image for Strong Extraordinary Dreams.
592 reviews30 followers
June 5, 2017
a collection of 'recipes'. Good to get those tasks (network) tasks up and running quickly. Not good as a general reference: poor and few explanations beyond what the author(s) feel(s) like talking about at the time
1 review
June 24, 2014
Python Network Programming Cookbook – review.

Reviewing books can be a tedious task in it self, and my expectations for reviewing Dr. M. O. Faruque Sarker's Python Network Programming Cookbook, was beyond the exhaustion level even before I had turned the first page. After all - it is a book about network programming, sockets, Client/Server Programming and a lot more – which usually not belongs to the horror literature, but merely is a literal sleeping pill.

It took me only a few minutes of reading to see, that this time my expectations would not be fulfilled. With a rarely seen clarity, Dr. M. O. Faruque Sarker describes the task, presents the solution and explains the functionality of each problem in plain words, so everybody can understand what the code actually do. I am virtually on the edge to state, that even without previous knowledge of Python, you can benefit from the examples, but it does help to know at least the basics.

The book is a cookbook in the best sense. You can easily read selected chapters without prior knowledge of previous chapters and, each chapter clarify which modules are needed before presenting the examples. This is absolutely a great plus and combined with an easy to read concept, this book is one of the best I have seen in years. Dr. M. O. Faruque Sarker's way of explaining each example can be compared to the concept: Hit and run. You hit the problem, see the solution and runs for the nearest laptop to derive even more sophisticated solutions, with you newly acquired knowledge.

This book is a must for Python programmers that want to explore the versatility of Python and take another step forward in the Python world.

However, before adding this book to your library a little warning, which also was missing on the books cover: According to the standard Python cookbook, some of the content I the book can be extremely addictive.


Claus Holm Larsen

CEO and founder of Holmes WebDesign.
Founder of the Python Programming Society on Facebook.
12 reviews1 follower
June 25, 2014
Python Network Cookbook provides you with the samples related to the range of networking topics. Whether you will benefit from it depends heavily on your tasks. The point here is that the range of samples is really huge. Starting with data manipulation required for network based transfer, through socket based networking, interfaces related samples, IPv6, to topics covering HTTP, IMAP, and web services.

Now, don’t get me wrong, but the percentage of the book you will benefit from heavily depends on your day to day work. If you deal with http stuff all the time, you will find half of the book entertaining. On the other hand, if you do some low level development and you want to design your own means of transportation based on sockets, first half of the book will be of your interest.

What I have found particularly useful for me were the http related samples, web service handling, and port forwarding. But these are things that I can benefit from directly.

For sure, this book will be really interesting for the students who have to deal with networking related lectures. You will be able to jump directly into virtually any network related topic.

The book has one drawback. Some of the samples are Linux based. I am pretty sure you can use them anyway by using MacPorts or Cygwin, but still, it might be slightly frustrating for Windows and Mac users that some samples are marked as “Linux only”.

Before you buy the book, make a simple calculation how much you can benefit from it. If you decide that more than half of the book is useful for you – go ahead.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.