
Expert Python Programming
Write professional, efficient and maintainable code in Python
Tarek Ziade(Author)
Packt Publishing
2nd Edition
Published on 20. May 2016
Book
Paperback/Softback
536 pages
978-1-78588-685-0 (ISBN)
Description
Become an ace Python programmer by learning best coding practices and advance-level concepts with Python 3.5
Key Features
Based on the latest stable version of Python (version 3.5)
Creating well manageable code that will run in various environments with different sets of dependencies
Packed with advanced concepts and best practices to write efficient Python code
Book DescriptionPython is a dynamic programming language, used in a wide range of domains by programmers who find it simple, yet powerful. Even if you find writing Python code easy, writing code that is efficient and easy to maintain and reuse is a challenge.
The focus of the book is to familiarize you with common conventions, best practices, useful tools and standards used by python professionals on a daily basis when working with code.
You will begin with knowing new features in Python 3.5 and quick tricks for improving productivity. Next, you will learn advanced and useful python syntax elements brought to this new version. Using advanced object-oriented concepts and mechanisms available in python, you will learn different approaches to implement metaprogramming. You will learn to choose good names, write packages, and create standalone executables easily.
You will also be using some powerful tools such as buildout and vitualenv to release and deploy the code on remote servers for production use. Moving on, you will learn to effectively create Python extensions with C, C++, cython, and pyrex. The important factors while writing code such as code management tools, writing clear documentation, and test-driven development are also covered.
You will now dive deeper to make your code efficient with general rules of optimization, strategies for finding bottlenecks, and selected tools for application optimization.
By the end of the book, you will be an expert in writing efficient and maintainable code.
What you will learn
Conventions and best practices that are widely adopted in the python community
Package python code effectively for community and production use
Easy and lightweight ways to automate code deployment on remote systems
Improve your code's quality, reliability, and performance
Write concurrent code in python
Extend python with code written in different languages
Who this book is forThe book would appeal to web developers and Python programmers who want to start using version 3.5 and write code efficiently. Basic knowledge of Python programming is expected.
Key Features
Based on the latest stable version of Python (version 3.5)
Creating well manageable code that will run in various environments with different sets of dependencies
Packed with advanced concepts and best practices to write efficient Python code
Book DescriptionPython is a dynamic programming language, used in a wide range of domains by programmers who find it simple, yet powerful. Even if you find writing Python code easy, writing code that is efficient and easy to maintain and reuse is a challenge.
The focus of the book is to familiarize you with common conventions, best practices, useful tools and standards used by python professionals on a daily basis when working with code.
You will begin with knowing new features in Python 3.5 and quick tricks for improving productivity. Next, you will learn advanced and useful python syntax elements brought to this new version. Using advanced object-oriented concepts and mechanisms available in python, you will learn different approaches to implement metaprogramming. You will learn to choose good names, write packages, and create standalone executables easily.
You will also be using some powerful tools such as buildout and vitualenv to release and deploy the code on remote servers for production use. Moving on, you will learn to effectively create Python extensions with C, C++, cython, and pyrex. The important factors while writing code such as code management tools, writing clear documentation, and test-driven development are also covered.
You will now dive deeper to make your code efficient with general rules of optimization, strategies for finding bottlenecks, and selected tools for application optimization.
By the end of the book, you will be an expert in writing efficient and maintainable code.
What you will learn
Conventions and best practices that are widely adopted in the python community
Package python code effectively for community and production use
Easy and lightweight ways to automate code deployment on remote systems
Improve your code's quality, reliability, and performance
Write concurrent code in python
Extend python with code written in different languages
Who this book is forThe book would appeal to web developers and Python programmers who want to start using version 3.5 and write code efficiently. Basic knowledge of Python programming is expected.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 29 mm
Weight
989 gr
ISBN-13
978-1-78588-685-0 (9781785886850)
Schweitzer Classification
Other editions
Additional editions

Tarek Ziadé | Tarek Ziade
Expert Python Programming
Write professional, efficient and maintainable code in Python
E-Book
06/2024
2nd Edition
Packt Publishing Limited
from
€39.59
Available for download
Person
Tarek Ziade is a Software Engineer, located in Burgundy, France. He works at Elastic, building tools for developers. Before Elastic, he worked at Mozilla for 10 years. Tarek founded a French Python User group called Afpy. He has written several articles on the Python programming language for various magazines and also a few books in French and English. Tarek Ziade is a Python developer located in the countryside near Dijon, France. He works at Mozilla in the services team. He founded a French Python user group called Afpy, and has written several books about Python in French and English. When he is not hacking on his computer or hanging out with his family, he's spending time between his two passions, running and playing the trumpet. You can visit his personal blog (Fetchez le Python) and follow him on Twitter (tarek_ziade).
Content
Table of Contents
Current status of python
Syntax best practices - below the class level
Syntax best practices - above the class level
Choosing good names
Writing a Package
Deploying code
Python extensions in other languages
Managing code
Documenting your project
Test-driven development
Optimization: general principles and profiling techniques
Optimization: Some powerfu techniques
Concurrency:
Useful design patterns
Current status of python
Syntax best practices - below the class level
Syntax best practices - above the class level
Choosing good names
Writing a Package
Deploying code
Python extensions in other languages
Managing code
Documenting your project
Test-driven development
Optimization: general principles and profiling techniques
Optimization: Some powerfu techniques
Concurrency:
Useful design patterns