𝔖 Scriptorium
✦   LIBER   ✦

📁

Pragmatic Python Programming: Learning Python the Smart Way

✍ Scribed by Gabor Guta


Publisher
Apress
Year
2022
Tongue
English
Leaves
212
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Explore the world of programming languages through Python and learn the building blocks of writing programs. This book covers Python 3.10, explaining it through six key concepts. Each chapter contains a real-world example with practical advice and a section on advanced concepts.

 

You'll start by reviewing the concept of expressions and functions, which are two of the core building blocks of programming languages.  You'll then move on to object-oriented concepts to help gain a practical understanding of Python, along with a chapter on control flow constructs. The book also takes a close look at sequences, explaining constructs and additional types, and wraps up with a chapter on modules, focusing on how to use and create packages.

 

Whether you’re new to programming or already an experienced developer, upon finishing this book, you will have a solid understanding of Python's state-of-the-art development features.
What You Will Learn

  • Study the six main concepts of the programming languages
  • Learn how to use programming language constructs through examples
  • Review the core Python language notations and concepts.
  • Start using Python as a working language

Who This Book Is For
Software developers wanting to gain professional core Python knowledge quickly, and non-developers wanting to gain an understanding of programming concepts.

✦ Table of Contents


Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Expression: How to Compute
Expressions with Additional Types
Boolean Type in an Expression
String Type in an Expression
Expressions with Conditional Operators
Floating-Point Number Type in an Expression
Complex Number Type in an Expression
Variable Names
Statements
Deletion of a Variable Name
Additional Language Constructs
Statements and Expressions in Practice
Advanced Details
Names
Keywords and Special Names
Literals
Characters with Special Meaning
Python Standards
Object Diagram Notation
Key Takeaways
Chapter 2: The Function: Programs as a Series of Statements
Calling a Function
Side Effects of Functions
Function Arguments
Defining a Function
Keyword Arguments
Visibility of Names
Functions as Parameters
Definitions of Nested Functions
Functions in Practice
Advanced Details
Namespace and Scope
Positional-Only and Keyword-Only Parameters
Variable Number of Arguments
Lambda Expression
Decorator
Yield Statement and Asynchronous Functions
Key Takeaways
Chapter 3: The Class: How to Model the World
What Is a Class?
Creating Objects
Using Instance Variables and Methods
Defining Classes
Relationships Among Classes
Properties
Inheritance
Nested Classes
Special Methods
Classes in Practice
Advanced Details
Class Variables, Class Methods, and Static Methods
Abstract Base Classes
Immutable Objects and Data Classes
Methods of Identifying Classes
Class Diagrams
Key Takeaways
Chapter 4: The Control Structure: How to Describe the Workflow
if Statement
match Statement
while Statement
for Statement
Exception Handling
Context Management
Recursion
Loops in Practice
Advanced Details
Matching Classes and Other Kinds of Patterns
Exception Classes
Context Manager Classes
Evaluating Strings
Activity Diagram
Key Takeaways
Chapter 5: The Sequence: From Data to the Data Structure
Lists and Their Operations
Processing of a List
Tuples
Dictionaries
Sets
Copying Sequences
Sequences in Practice
Advanced Details
Iterable Objects
Deep Copy of Data Structures
Generator Functions and Coroutines
Functional-Style Manipulation of Lists
Multiplicity of Class Diagram Connections
Sequence Diagram
Key Takeaways
Chapter 6: The Module: Organization of Program Parts into a Unit
Built-in Modules
Defining Modules
Packages
Future Package
Package Management
Useful Third-Party Packages
Modules in Practice
Advanced Concepts
Structure of Python Projects
Virtual Environments
Tools for Testing
Tools for Static Analysis
Tools for Formatting
Preparation of Documentation
Key Takeaways
Appendix A: Binary Representation
Appendix B: Type Annotations
Appendix C: Asynchronous Programming
Bibliography
Index


📜 SIMILAR VOLUMES


Pragmatic Python Programming: Learning P
✍ Gabor Guta 📂 Library 📅 2022 🏛 Apress 🌐 English

<p><span>Explore the world of programming languages through Python and learn the building blocks of writing programs. This book covers Python 3.10, explaining it through six key concepts. Each chapter contains a real-world example with practical advice and a section on advanced concepts.</span></p><

Pragmatic Python Programming: Learning P
✍ Gabor Guta 📂 Library 📅 2022 🏛 Apress 🌐 English

<p><span>Explore the world of programming languages through Python and learn the building blocks of writing programs. This book covers Python 3.10, explaining it through six key concepts. Each chapter contains a real-world example with practical advice and a section on advanced concepts.</span></p><

Python Advanced Programming: The guide t
✍ Marcus Richards 📂 Library 📅 2024 🏛 Marcus Richards 🌐 English

<p> </p><p>If you want to learn the most modern programming language in the world, then keep reading. Python is an high-level programming language. It's a modern language, easy to learn and understand but very powerful.</p><p>It's a versatile programming language that is now being used on a lot o

Python for Beginners: Learn Python Progr
✍ Santos Ozoemena 📂 Library 🌐 English

<h2><span>The world of Python programming is booming! Get a slice of the action.</span></h2><p><span>Have you always wanted to be a part of the programming world, but things seem confusing and complicated so you’ve never gone through with it? </span></p><p><span>Are you hoping to get a career in pro

Cython: a guide for Python programmers
✍ Smith, Kurt W 📂 Library 📅 2015 🏛 O'Reilly Media 🌐 English

<p>Build software that combines Python's expressivity with the performance and control of C (and C++). It's possible with Cython, the compiler and hybrid programming language used by foundational packages such as NumPy, and prominent in projects including Pandas, h5py, and scikits-learn. In this pra