Learning Python Network Programming (Paperback)
Dr. M. O. Faruque Sarker, Sam Washington
- 出版商: Packt Publishing
- 出版日期: 2015-06-17
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 277
- 裝訂: Paperback
- ISBN: 1784396001
- ISBN-13: 9781784396008
-
相關分類:
Python、程式語言
-
其他版本:
Learning Python Networking - Second Edition
買這商品的人也買了...
-
$780$663 -
$1,200$948 -
$580$458 -
$880$695 -
$520$406 -
$680$578 -
$780$616 -
$454UEFI 原理與編程
-
$520$411 -
$780$616 -
$360$284 -
$590$502 -
$690$538 -
$450$356 -
$680$537 -
$560$442 -
$280$218 -
$860$774 -
$220$209 -
$320$250 -
$580$522 -
$380$300 -
$480$379 -
$620$484 -
$520$442
相關主題
商品描述
Utilize Python 3 to get network applications up and running quickly and easily
About This Book
- Leverage your Python programming skills to build powerful network applications
- Explore steps to interact with a wide range of network services
- Design multithreaded and event-driven architectures for echo and chat servers
Who This Book Is For
If you're a Python developer or a system administrator with Python experience and you're looking to take your first steps in network programming, then this book is for you. Basic knowledge of Python is assumed.
What You Will Learn
- Develop an understanding of network stacks and the power of encapsulation
- Design high-performance network server applications
- Implement socket-based network applications using asynchronous models
- Build client applications for major web APIs, including Amazon S3 and Twitter
- Interact with e-mail servers using SMTP, POP3, and IMAP protocols
- Deal with remote network servers using SSH, FTP, SNMP, SMB/CIFS, and LDAP protocols
- Work with IP addresses including Geo-IP lookups
- Download objects from the Web and craft custom HTTP requests with urllib and the Requests library
In Detail
Network programming has always been a demanding task. With full-featured and well documented libraries all the way up the stack, Python makes network programming the enjoyable experience it should be.
Starting with a walkthrough of today's major networking protocols, with this book you'll learn how to employ Python for network programming, how to request and retrieve web resources, and how to extract data in major formats over the Web. You'll utilize Python for e-mailing using different protocols and you'll interact with remote systems and IP and DNS networking.
As the book progresses, socket programming will be covered, followed by how to design servers and the pros and cons of multithreaded and event-driven architectures. You'll develop practical client-side applications, including web API clients, e-mail clients, SSH, and FTP. These applications will also be implemented through existing web application frameworks.
商品描述(中文翻譯)
利用Python 3快速且輕鬆地建立網路應用程式
關於本書
- 利用Python程式設計技巧建立強大的網路應用程式
- 探索與各種網路服務互動的步驟
- 設計多執行緒和事件驅動的架構,用於回音和聊天伺服器
本書適合對象
如果你是一位具備Python經驗的開發者或系統管理員,並且希望在網路程式設計方面邁出第一步,那麼本書適合你。需要基本的Python知識。
你將學到什麼
- 瞭解網路堆疊和封裝的威力
- 設計高效能的網路伺服器應用程式
- 使用非同步模型實現基於套接字的網路應用程式
- 建立主要網路API的客戶端應用程式,包括Amazon S3和Twitter
- 使用SMTP、POP3和IMAP協議與電子郵件伺服器互動
- 使用SSH、FTP、SNMP、SMB/CIFS和LDAP協議與遠端網路伺服器互動
- 處理IP地址,包括地理IP查找
- 使用urllib和Requests庫從網路下載物件並製作自訂的HTTP請求
詳細內容
網路程式設計一直是一項具有挑戰性的任務。Python提供了完整且有詳細文件的庫,使網路程式設計成為一個令人愉快的體驗。
本書首先介紹了當今主要的網路協議,讓你學習如何使用Python進行網路程式設計,如何請求和擷取網路資源,以及如何從網路中提取主要格式的資料。你將使用不同協議進行電子郵件傳送,並與遠端系統、IP和DNS網路互動。
隨著書籍的進展,將介紹套接字程式設計,以及如何設計伺服器和多執行緒和事件驅動架構的優缺點。你將開發實用的客戶端應用程式,包括網路API客戶端、電子郵件客戶端、SSH和FTP。這些應用程式也將通過現有的網路應用程式框架來實現。