This second edition of Foundations of Python Network Programming targets Python 2.5 through Python 2.7, the most popular production versions of the language. Python has made great strides since Apress released the first edition of this book back in the days of Python 2.3. The advances required new chapters to be written from the ground up, and others to be extensively revised. You will learn fundamentals like IP, TCP, DNS and SSL by using working Python programs; you will also be able to familiarize yourself with infrastructure components like memcached and message queues. You can also delve into Network server designs, and compare threaded approaches with asynchronous event-based solutions. But the biggest change is this edition's expanded treatment of the web. The HTTP protocol is covered in extensive detail, with each feature accompanied by sample Python code. You can use your HTTP protocol expertise by studying an entire chapter on screen scraping and you can then test lxml and BeautifulSoup against a real-world web site. The chapter on web application programming now covers both the WSGI standard for component interoperability, as well as modern web frameworks like Django. Finally, all of the old favorites from the first edition are back: E-mail protocols like SMTP, POP, and IMAP get full treatment, as does XML-RPC. You can still learn how to code Python network programs using the Telnet and FTP protocols, but you are likely to appreciate the power of more modern alternatives like the paramiko SSH2 library. If you are a Python programmer who needs to learn the network, this is the book that you want by your side. What you'll learn * Understand low level networking * Handle sending and receiving email including composing and decoding emails, SMTP, POP and IMAP * Program the lower levels of web application programming such as FastCGI and WSGI and HTTP itself * Learn how to use memcached and message qeues using Python * Access web services using Python * Master multitasking with threads, forking, and asynchronous communication Who this book is for This book will be of interest to python programmers who need to program networked applications using Python. From web application developers, to systems integrators, to system administrators--this book has everything you need to know. Table of Contents * Introduction to Client/Server Networking * UDP * TCP * Socket Names and DNS * Network Data and Network Errors * TLS and SSL * Server Architecture * Caches, Message Queues, and Map-Reduce * HTTP * Screen Scraping * Web Applications * E-mail Composition and Decoding * SMTP * POP * IMAP * Telnet and SSH * FTP * RPC
發表於2025-02-05
Foundations of Python Network Programming 2025 pdf epub mobi 電子書 下載
雖然很多例子在windows環境運行不瞭,雖然有些例子在linux環境運行也會齣錯,但是作者還是把一本web百科全書展現在瞭讀者麵前。 不僅對於python開發人員,當然在中國很少有專業的python開發人員,對於所有的web開發人員都會有所幫助,不一定對於開發細節而言,對於底層...
評分是基於python 2.3的,但是在中文書裏麵已經很難得瞭,畢竟沒什麼書涉及網絡等比較深的話題。至於譯者第二章所說的程序運行錯誤,想來有些好笑,我猜他用的是XP或者vista吧,所以係統裏麵並沒有服務器端口號的列錶。我的win2003和Linux下運行都通過瞭。 涉及瞭網絡的方方麵麵,...
評分This second edition of Foundations of Python Network Programming targets Python 2.5 through Python 2.7, the most popular production versions of the language. Python has made great strides since Apress released the first edition of this book back in the days...
評分基於Python2.3講的,我在Python2.6.3下測試代碼基本通過,少數運行有問題,可能是書中Python版本過低導緻的. 雖說是入門書籍,但是讀者最好還是要對網絡基礎知識有個大概的瞭解,直接看的話可能會不知道在說什麼. 翻譯的問題是這樣的,感覺譯者對Python的瞭解不夠深入,缺乏自己對文字...
評分書中用例比較多,都是些短小精悍型的,所以很容易讀進去,適閤初學者。 書中所述範圍很全,但很多隻是蜻蜓點水,沒有大刀闊斧地展示齣Python網絡編程的魅力! 我期待有本Python的書能夠詳細擴寬官方文檔的不足。靜心設計的實例是最需要的。
圖書標籤: Python Network programming 計算機 Apress 美國 python John-Goerzen
用python講解瞭networking編程的各個方麵,重點看前8章,後麵幾章講應用層協議的,如http,郵件協議,FTP,RPC等,掃一下即可
評分#不怎麼樣,知識點的邊幅也太少瞭,蜻蜓點水。(看瞭1、2、3、7章)
評分讀的原版書,讀起來還是容易,很多內容是network的基礎知識,寫的比較全麵、概括,細節之處就泛泛而談瞭,內容中庸,不是十分精彩。書中作者反復強調新技術會不斷取代舊技術,要隨時關注技術更新、開源社區、郵件列錶等等,這點很贊同。
評分每章的Summary纔是精華所在啊
評分讀的原版書,讀起來還是容易,很多內容是network的基礎知識,寫的比較全麵、概括,細節之處就泛泛而談瞭,內容中庸,不是十分精彩。書中作者反復強調新技術會不斷取代舊技術,要隨時關注技術更新、開源社區、郵件列錶等等,這點很贊同。
Foundations of Python Network Programming 2025 pdf epub mobi 電子書 下載