Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Foundations of Python Network Programming Paperback – 18 Aug. 2004
There is a newer edition of this item:
- ISBN-101590593715
- ISBN-13978-1590593714
- Edition1st
- PublisherApress
- Publication date18 Aug. 2004
- LanguageEnglish
- Dimensions19.05 x 3.07 x 23.5 cm
- Print length536 pages
Product description
About the Author
Product details
- Publisher : Apress; 1st edition (18 Aug. 2004)
- Language : English
- Paperback : 536 pages
- ISBN-10 : 1590593715
- ISBN-13 : 978-1590593714
- Dimensions : 19.05 x 3.07 x 23.5 cm
- Customer reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
- 5 star4 star3 star2 star1 star5 star68%32%0%0%0%68%
- 5 star4 star3 star2 star1 star4 star68%32%0%0%0%32%
- 5 star4 star3 star2 star1 star3 star68%32%0%0%0%0%
- 5 star4 star3 star2 star1 star2 star68%32%0%0%0%0%
- 5 star4 star3 star2 star1 star1 star68%32%0%0%0%0%
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from United Kingdom
There was a problem filtering reviews right now. Please try again later.
- Reviewed in the United Kingdom on 28 July 2015This book will tech you network programming. Definitely it will get you started with the fundamentals of most important topics and python modules for network programming. From there you can progress on your own. Still you should be familiar with python. Familiarity with a Linux is not mandatory but would make it easier. Some snippets are obviously written to be run from a bash command but the python-experienced users will know what amendments to make to run it on a Windows OS.
- Reviewed in the United Kingdom on 23 February 2008This is a superb introduction to network programming in general and using Python in particular. I'd say it is the modern equivalent of the classic Stephens books on Unix networking. It covers all the common protocols with simple examples and good introductory discussion. So far at least, it has answered every metworking Python query I've had. Its not for complete beginners but for anyone with basic-intermediate Python skills it is highly recommended.
Top reviews from other countries
Ales KavsekReviewed in the United States on 20 October 20045.0 out of 5 stars A review by an accidental reader - the lucky one :-)
This title accidentally popped up while I was searching for some book covering web programming in Python; bookmarked the link and went on with my quest. Later on, I found what I was looking for (Python Web programming by New Riders) and decided to go back and glimpsed over the table of contents of the book that I'm reviewing now, "Foundations of Python Network Programming". Wow, what a surprise, I was really impressed by the wide coverage on network programming done by the author (even had some doubts at the beginning that this can't be done in a book with less than five hundred pages). Nevertheless, ordered the book and now I'm half way through it (the other book mentioned will have to wait :-). I can hardly think of a major topic about network programming, that is not covered in it, at least in some amount. Considering, otherwise vast area and complexity of network programming, this certainly is a great achievement by the author and a true testimonial on efficiency of Python language.
Author has chosen a tutorial approach; quick introduction, example, commentary of the code, some more examples and comments, conclusion. No fluff and bluff. On top of that technical reviewer has done a superb job, so far I didn't find any typos or non working code samples. Rare for a technical book nowadays but great for a change.
I'm more or less python newbie with little or no background on programming with TCP/IP socket interface, so the first few chapters that are dealing with client/server sockets are more or less new to me (at least I know where to look up first if the need to program on this level arise), chapters covering programming different net clients are more familiar to me, and of the most interest, since this kind of stuff is more likely to cross my path. I think that intermediate level pythonists with some background on network programming and good skills to search the web for more in depth articles/documentation will benefit reading this book the most. Not to say that your Python library should be without this title if you're newbie like me, on contrary, you'll be glad to have this kind of a book at hand when you'll need it - and believe me you'll, sooner or later - just don't expect from a single source of information to become instant network hacker.
Highly recommended!
Sean FritzReviewed in the United States on 19 December 20075.0 out of 5 stars Interesting book
I'm giving this book 5 stars because I found it more useful than many books. There are some flaws, but overall I am happy that I own this book.
This book uses a teach by example technique as discussed in other chapters. It is oriented towards application developers that find themselves in need of python networking rather than networking people that need python.
The book is overall clearly written and the examples are generally interesting. The author shows an advanced understanding of most of the subject matter. Chapter strength is fairly variant. On the other hand, it's pretty likely that you do not have knowledge of all the topics in this book and will learn something interesting by reading it.
Cons: The chapter on HTML tag matching felt really weak. They tried to treat HTML as a regular language by using state machines to match it, when it's clearly context-free, then he started to add a stack but he had already lost my interest as the examples got fairly unwieldy.
Dale WilsonReviewed in the United States on 10 April 20074.0 out of 5 stars A Gem of a Book (with minor flaws)
This is a well presented, well paced introduction to network programming in Python. He presents programs both as interactive sessions (follow along in the comfort of home) and as scripts (programs) available to download from his web site at Apress.
It serves as a good, general purpose, introduction to network programming as wall as a Python-specific network programming tutorial.
I do, however, have some complaints. Although the author attempts to present information in a platform-neutral manner, it is obvious that he is much more familiar with *nixes than with Windows. There are several minor factual errors in the Windows information he presents. [I have submitted these as error reports on the Apress web site.]
Fortunately none of these disrupt the actual presentation. Experienced Windows programmers will be able to correct the mistakes on-the fly. As a minor example, Windows programmers know they can type "script.py" to run a python program even though Windows doesn't honor the #! line at the beginning of the script.
My other complaint has to do with the use of PyDNS to discuss DNS issues. As far as I can tell PyDNS is dead, or at least it is dying. dnspython would have been a much better choice. However given that the book is three years old, I can't really fault the author for picking the wrong package -- it's happened to all of us at some point in our careers.
And a truly minor quibble: he starts with an example of downloading a file using the gopher protocol. Do you have any idea how hard it is to find a gopher server now days <chuckle/>
Alberto ChangReviewed in the United States on 20 February 20185.0 out of 5 stars Five Stars
OK
RasputinReviewed in the United States on 23 May 20084.0 out of 5 stars Helpful for this beginner
I have no background with Python and limited understanding of networking. So my comments are from a rookie. So here they are:
1) Readable: technical enough but gets right to implementable examples. You can jump around in the book and find what you need with out having to read the whole thing.
2) Applicable: I used examples from the book to gain an understanding of my Linux system and my home network.
3) Python is free so use it.
That is all.