Python for Geeks : Build Production-Ready Applications Using Advanced Python Concepts and Industry Best Practices.
Saved in:
Online Access: |
Full text (Emerson users only) |
---|---|
Main Author: | |
Format: | eBook |
Language: | English |
Published: |
Birmingham :
Packt Publishing, Limited,
2021.
|
Subjects: | |
Local Note: | ProQuest Ebook Central |
Table of Contents:
- Cover
- Title Page
- Copyright and Credits
- Dedication
- Contributors
- Table of Contents
- Preface
- Section 1: Python, beyond the Basics
- Chapter 1: Optimal Python Development Life Cycle
- Python culture and community
- Different phases of a Python project
- Strategizing the development process
- Iterating through the phases
- Aiming for MVP first
- Strategizing development for specialized domains
- Effectively documenting Python code
- Python comments
- Docstring
- Functional or class-level documentation
- Developing an effective naming scheme
- Methods
- Variables
- Constant
- Classes
- Packages
- Modules
- Import conventions
- Arguments
- Useful tools
- Exploring choices for source control
- What does not belong to the source control repository?
- Understanding strategies for deploying the code
- Batch development
- Python development environments
- IDLE
- Sublime Text
- PyCharm
- Visual Studio Code
- PyDev
- Spyder
- Summary
- Questions
- Further reading
- Answers
- Chapter 2: Using Modularization to Handle Complex Projects
- Technical requirements
- Introduction to modules and packages
- Importing modules
- Using the import statement
- Using the __import__ statement
- Using the importlib.import_module statement
- Absolute versus relative import
- Loading and initializing a module
- Standard modules
- Writing reusable modules
- Building packages
- Naming
- Package initialization file
- Building a package
- Accessing packages from any location
- Sharing a package
- Building a package as per the PyPA guidelines
- Installing from the local source code using pip
- Publishing a package to Test PyPI
- Installing the package from PyPI
- Summary
- Questions
- Further reading
- Answers
- Chapter 3: Advanced Object-Oriented Python Programming
- Technical requirements
- Introducing classes and objects
- Distinguishing between class attributes and instance attributes
- Using constructors and destructors with classes
- Distinguishing between class methods and instance methods
- Special methods
- Understanding OOP principles
- Encapsulation of data
- Encompassing data and actions
- Hiding information
- Protecting the data
- Using traditional getters and setters
- Using property decorators
- Extending classes with inheritance
- Simple inheritance
- Multiple inheritance
- Polymorphism
- Method overloading
- Method overriding
- Abstraction
- Using composition as an alternative design approach
- Introducing duck typing in Python
- Learning when not to use OOP in Python
- Summary
- Questions
- Further reading
- Answers
- Section 2: Advanced Programming Concepts
- Chapter 4: Python Libraries for Advanced Programming
- Technical requirements
- Introducing Python data containers
- Strings
- Lists
- Tuples
- Dictionaries
- Sets
- Using iterators and generators for data processing
- Iterators
- Generators
- Handling files in Python