The 3rd edition of Python core programming Chinese version pdf

Source: Internet
Author: User
Tags nntp file transfer protocol


: Network Disk Download


Introduction to content editing Python is a powerful object-oriented programming language that can be used to write prototypes for standalone programs, quick scripts, and complex applications. As an open source software, Python is freely available and easy to learn and use. This book is a classic primer for the Python language, written by two leading Python technical experts and training experts, covering all the core content of the language. All the answers to the exercises can be found after the book. This book describes the basic components of a Python program: types, operators, statements, functions, modules, classes, and exceptions, and describes more advanced topics, including complex instances. Whether it's for writing simple scripts or complex scientific computing, WEB, database, graphics, and animation programs, Python proves its power. This book is the classic Python[1]   Guidance book, on the basis of the first version of a comprehensive upgrade. The book is divided into two parts: the 1th part occupies about two-thirds of the space, explaining the "core" content of the language, including basic concepts and statements, syntax and style, Python objects, number types, sequence types, mappings and collection types, conditions and loops, files and inputs/outputs, errors and exceptions, Functions and functional programming, modules, object-oriented programming, execution environments, and more: Part 2nd provides a variety of advanced topics to show what you can do with Python, including regular expressions, network programming, network client programming, multithreaded programming, graphical user interface programming, Web programming, database programming, Extend Python and some other materials. This book is suitable for beginners in python and programmers who are already getting started but want to continue to learn and improve their Python skills. Book catalogue editor 1th Python core 1th Chapter Welcome to Python World 2nd Chapter Quick Start 3rd Chapter Python Foundation 4th Chapter Python Object 5th Chapter digital 6th Chapter Sequence: string, List and tuples 7th Chapter image and set type 8th Chapter condition and Loop 9th Chapter File and input output 10th errors and exceptions chapter 11th functions and functional Programming 12th Module 13th Chapter Object-Oriented programming 14th Chapter Execution Environment 2nd part Advanced Topic 15th Chapter Regular Expression 15.1 introduction/motive 15.2 regular expressions use special symbols and characters 15.2.1 with pipe symbols (| Matches multiple regular expression patterns 15.2.2 match any single character (.) 15.2.3 start or end of string or word boundary (^/$/\b/\b) 15.2.4 Create character class ([]) 15.2.5 Specify the range (-) and negation (^) 15.2.6 Use the closure operator (*,+,?,{}) to implement multiple occurrences/repeat matches 15.2.7 special character representations, character sets 15.2.8 using parentheses (()) to assemble groups 15.3 regular expressions and Python languages 15.3.1 re modules: Core functions and methods 15.3.2 Use compile () to compile regular expressions 15.3.3 match object and Group (), groups () method 15.3.4 match () matches string 15.3.5 search () finds a pattern in a string (comparison of search and match) 15.3.6 Matches multiple strings (|) 15.3.7 matches any single character (.) 15.3.8 creates a character set ([]) 15.3.9 duplicates, special characters, and subgroups 15.3.10 match from the beginning or end of a string and match on a word boundary 15.3.11 Use FindAll () to find each occurrence of the matching section 15.3.12 searching and replacing with sub () (and Subn ()) 15.3.13 with Split () split (delimited mode) 15.4 Regular expression example 15.4.1 matches a string 15.4.2 search matches a match, "greedy" matches 15.5 exercises 16th Chapter Network Programming 16.1 Introduction 16.1.1 What is client/server architecture 16.1.2 client/server network programming 16.2 sockets: Communication endpoint 16.2.1 What is socket 16.2.2 socket address: Host and port 16.2.3 connection-oriented with no connection 16.3 Network programming in Python 16.3.1 socket () module function 16.3.2 socket object (built-in) method 16.3.3 create a TCP server 16.3.4 create a TCP client 16.3.5 run our client with a TCP server 16.3.6 Create a UDP server 16.3.7 create a UDP client 16.3.8 execute UDP server and client 16.3.9 Socket module Properties 16.4 *socketserver module 16.4.1 Create a SOCKETSERVERTCP server 16.4.2 create a SOCKETSERVERTCP client 16.4.3 perform a TCP server and client 16.5 Twisted Framework introduction 16.5.1 Create a twisted Reactor TCP Server 16.5.2 Create a twisted Reactor TCP client 16.5.3 perform TCP server and client 16.6 related modules 16.7 Exercise 17th Network Client Programming 17.1 What is Internet client 17.2 file transfer 17.2.1 File Transfer Internetwork protocol 17.2.2 File Transfer Protocol (FTP) 17.2.3 python and FTP17.2.4 ftplib. FTP class Method 17.2.5 Interactive FTP Example 17.2.6 client FTP program example 17.2.7 other aspects of FTP 17.3 Network news 17.3.1 Usenet with newsgroups 17.3.2 Network News Transfer Protocol (NNTP) 17.3.3 Python and NNTP17.3.4 nntplib. NNTP class method 17.3.5 Interactive NNTP Example 17.3.6 client program NNTP Example 17.3.7 other aspects of NNTP 17.4 e-mail 17.4.1 e-mail system components and protocols 17.4.2 send e-mail 17.4.3 Python and SMTP17.4.4 smtplib. SMTP class method 17.4.5 Interactive SMTP example 17.4.6 SOther aspects of MTP 17.4.7 receive e-mail 17.4.8 pop and IMAP17.4.9 Python and POP317.4.10 interactive POP3 example 17.4.11 poplib. POP3 class Method 17.4.12 client program SMTP and POP3 example 17.5 related modules 17.5.1 e-mail 17.5.2 Other network protocols 17.6 exercises 18th multithreaded Programming 18.1 introduction/Motivation 18.2 threads and processes 18.2.1 What is a process 18.2.2 What is thread 18.3 python, thread, and global interpreter lock 18.3.1 Global interpreter Lock (GIL) 18.3.2 exit thread 18.3.3 use thread 18.3.4 in Python without thread support 18.3.5 Python's Threading Module 18.4 thread Module 18.5 Threading Module 18.5.1 thread Class 18.5.2 Fibonacci, factorial, and additive and other functions in the 18.5.3 threading module 18.5.4 Producer-Consumer issues and queue module 18.6 related Modules 18.7 Exercises chapter 19th graphical user interface Programming 19.1 Introduction 19.1.1 what is Tcl, TK and Tkinter19.1.2 install and use tkinter 53319.1.3 client/server architecture 53419.2 Tkinter and Python programming 53419.2.1 Tkinter module: Introducing TK into your program 19.2.2 GUI program Development Introduction 19.2.3 Top-level window: 19.2.4 TK component 19.3 Tkinter example 19.3.1 Label component 19.3.2 button component 19.3.3 label and button component 19.3.4 Label, Button, and progress bar component 19.3.5 Partial Function Application Example 19.3.6 Intermediate Tkinter example 19.4 other GUI introduction 19.4.1 Tk Interface EXtensions (Tix) 19.4.2 Python megawidgets (PMW) 19.4.3 wxwidgets and wxPython19.4.4 GTK + and PyGTK19.5 related modules and other GUI19.6 exercises 20th Chapter Web programming 20.1 Introduction to 20.1.1 Web application: Client/server computing 20.1.2 Internet 20.2 using Python for Web applications: Creating a simple Web Client 20.2.1 Uniform Resource Locator 20.2.2 Urlparse module 20.2.3 Urllib module 20.2.4 URLLIB2 Module 20.3 Advanced Web Client 20.4 CGI: Help Web server handle client data 20.4.1 CGI introduction 20.4.2 CGI application 20.4.3 CGI module 20.5 build CGI application 20.5.1 Set up a Web server 20.5.2 build a form page 20.5.3 build results page 20.5.4 generate form and results page 20.5.5 full interactive Web site 20.6 using Unicode encoding in CGI 20.7 advanced CGI20.7.1 Mulitipart form submission and file upload 20.7.2 multivalued fields 20.7.3 cookie20.7.4 using advanced CGI20.8 Web (HTTP) server 20.9 related modules 20.10 Exercise 21st. Introduction to Database Programming 21.1 21.1.1 Persistent storage 21.1.2 Basic database operations and SQL language 21.1.3 database and Python21.2 Python database application programmer Interface (DB-API) 21.2.1 Module Properties 21.2.2 Connection object 21.2.3 Cursor Object 21.2.4 Type object and constructor 21.2.5 relational database 21.2.6 database and Python: interface program 21.2.7 using Database Interface Program Example 21.3 Object-relational Manager (ORM) 21.3.1 consider objects, not SQL21.3.2 Python and ORM21.3.3 Employee Database Example 21.3.4 Summary 21.4 related modules 21.5 exercises 22nd Chapter Expansion Python 62322.1 introduction/Motivation 22.1.1 What is the extension 22.1.2 why to extend Python22.2 Create a python extension 22.2.1 create your application code 22.2.2 use a template to wrap your code 22.2.3 compile 22.2.4 import and test 22.2.5 reference count 22.2.6 thread and Global Interpreter lock (GIL) 22.3 Related Topics 22.4 Practice Chapter 23rd Other topics 23.1 Web services 23.2 using WIN32 COM to operate Microsoft Office23.2.1 Client COM programming 23.2.2 Microsoft Excel23.2.3 Microsoft Word 1th python core 23.2.4 Microsoft PowerPoint23.2.5 Microsoft Outlook23.2.6 Medium Size Example 23.3 write Python and Java programs with Jython 23.3.1 What is Jython23.4 practice 23.2.4 Microsoft PowerPoint23.2.5 Microsoft Outlook23.2.6 medium-sized example 23.3 write Python and Java programs with Jython 23.3.1 what is Jython23.3.2 Swing GUI development (Java or python!) 23.4 exercises



: Network Disk Download

The 3rd edition of Python core programming Chinese version pdf

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.