Network Programming with Python
Authors | Dhastha Gheer. A |
Level | Beginner |
Topic | Network programming |
Tags | Overview of Networks, Client/Server, Web Operations, TCP/IP,Socket |
This talks about Network programming with python. The TCP/IP network protocol suite is the standard method for inter-machine communication. Though originally integral only to the UNIX operating system, its usage spread to all OS types, and it is the basis of the entire Internet. This talks will briefly introduce the subject of TCP/IP programming using the Python language and Introduction of library code available for web operation(urllib, HTMLParser).
Overview of network
1.1 Network and MAC Addresses 1.2 The Internet and IP Addresses 1.3 Ports 1.4 Connectionless and Connection oriented Communication 1.5 Clients and Servers
Example Client server pair
Role of OS
3.1 Basic operation 3.2 How the OS Distinguishes Between Multiple Connections
Sending Lines of Text
4.1 Remember, It’s Just One Big Byte Stream, Not “Lines” 4.2 The Wonderful makefile() Function 4.3 Getting the Tail End of the Data
Dealing with Asynchronous Inputs
5.1 Nonblocking Sockets 5.2 Advanced Methods of Polling
Web Operation
6.1 urlib (library for accessing Web sites) 6.2 HTMLParser(library for parsing HTML)
Dhastha Gheer.A final year student of Master of Computer Application. He is an Open Source enthusiast and Active member of Kanchi Linux User Group. He has hosted his small python scripts here: http://code.google.com/p/autoyoutubedown, http://code.google.com/p/autopdfdown. He has deep interest in python, open source, web design, Network programming. He is doing mini projects for Launchpad Translation. Blog: http://kanchilug.wordpress.com , http://dowithlinux.wordpress.com