Python Advanced Programming PDF

Source: Internet
Author: User

: Network Disk Download

Content Introduction· · · · · ·

Python advanced Programming provides a number of examples of best practices and agile development methodologies for the Python language and covers advanced topics throughout the software lifecycle, such as continuous integration, version control systems, package distribution and distribution, development patterns, documentation, and more. Python advanced Programming first describes how to set up the optimal development environment, and then takes the Python agile development approach as a clue to how to apply the validated object-oriented principles to the design. This content provides developers and project managers with many high-level concepts and expert-level recommendations throughout the software engineering, some of which are even beyond the Python language itself.

Python advanced programming is for Python developers who have a certain Python base and want to improve their own by applying best practices and new development techniques to their projects.

Author profile ...

Tarek Ziadé, CTO of the Paris Ingeniweb Company, is working on Python, Zope, Plone Technology and quality assurance. He has been involved in the Zope community for more than 5 years and has contributed code to zope itself.

Tarek created Afpy, a French Python user group, and wrote two French-language Python books. He has also delivered many lectures at French and international conferences such as Solutions Linux, Pycon, Oscon and EuroPython, and has presided over many courses.

Table of Contents, chapter 1th Preparation of the work
1.1 Installing Python
1.1.1 Python Implementation version
1.1.2 Installation in a Linux environment
1.1.3 installation in a Windows environment
1.1.4 installation in Mac OS x environment
1.2 Python command line
1.2.1 Customizing interactive command line
1.2.2 IPython: Enhanced command-line
1.3 Installing Setuptools
1.3.1 Working principle
1.3.2 Installation with Easyinstall Setuptools
1.3.3 integration of MinGW into distutils
1.4 Working environment
1.4.1 using a combination of a text editor and an accessibility tool
1.4.2 using an integrated development environment
1.5 Summary
2nd. Syntax best practices--below class level
2.1 List Derivation
2.2 Iterators and generators
2.2.1 Generator
2.2.2 Collaborative Program
2.2.3-Generator expression
2.2.4 Itertools Module
2.3 Decorators
2.3.1 How to write adorners
2.3.2 parameter Checking
2.3.3 Cache
2.3.4 Agent
2.3.5 Context Provider
2.4 With and Contextlib
2.4.1 Contextlib Module
2.4.2 Context Instance
2.5 Summary
3rd. Syntax best practices-class level
3.1 Sub-type built-in types
3.2 Accessing methods in Super-class
3.2.1 Understanding Python's Method parsing order
3.2.2 Super's flaws
3.3 Best Practices
3.4 Descriptors and attributes
3.4.1 Descriptor
3.4.2 Property
3.5 Slots
3.6 Meta Programming
3.6.1 __new__ method
3.6.2 __metaclass__ method
3.7 Summary
The 4th chapter selects the good name
4.1 PEP 8 and naming best practices
4.2 Naming style
4.2.1 variable
4.2.2 Functions and methods
4.2.3 Property
4.2.4 class
4.2.5 Modules and Packages
4.3 Naming guide
4.3.1 named Boolean elements using the "has" or "is" prefix
4.3.2 naming sequence elements in plural form
4.3.3 Naming a dictionary with an explicit name
4.3.4 Avoid generic names
4.3.5 Avoid existing names
4.4 Parameter Best Practices
4.4.1 Building parameters based on iterative design
4.4.2 Trust parameters and testing
4.4.3 use *args and **kw magic parameters carefully
4.5 Class Name
4.6 Module and package name
4.7 Using the API
4.7.1 Tracking lengthy
4.7.2 Building a namespace tree
4.7.3 Decomposition Code
4.7.4 using Egg
4.7.5 using the deprecation process
4.8 Useful Tools
4.8.1 Pylint
4.8.2 Clonedigger
4.9 Summary
The 5th chapter prepares a package
6th Chapter Writing an application
The 7th Chapter uses Zc.buildout
8th Chapter Code Management
9th Chapter Life Cycle Management
The 10th chapter prepares the project document
The 11th chapter test-Driven development
12th. Optimization: general principles and analysis techniques
13th. Optimization: The solution
14th. Useful Design Patterns

: Network Disk Download

Python Advanced Programming 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.