وبلاگ بلیان

The Absolute Beginner's Guide to Python Programming : A Step-by-Step Guide with Examples and Lab Exercises

معرفی کتاب «The Absolute Beginner's Guide to Python Programming : A Step-by-Step Guide with Examples and Lab Exercises» نوشتهٔ Kevin Wilson، منتشرشده توسط نشر Apress L. P. در سال 2022. این کتاب در 200 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «The Absolute Beginner's Guide to Python Programming : A Step-by-Step Guide with Examples and Lab Exercises» در دستهٔ برنامه‌نویسی قرار دارد.

Written as an illustrated, step-by-step guide, this book will introduce you to Python with examples using the latest version of the language. You'll begin by learning to set up your Python environment. The next few chapters cover the basics of Python such as language classifications, Python language syntax, and how to write a program. Next, you will learn how to work with variables, basic data types, arithmetic, companion, and Boolean operators, followed by lab exercises. Further, the book covers flow control, using functions, and exception handling, as well as the principles of object-oriented programming and building an interface design. The last section explains how to develop a game by installing PyGame and how to use basic animation, and concludes with coverage of Python web development with web servers and Python web frameworks. The Absolute Beginners Guide to Python Programming will give you the tools, confidence, and inspiration to start writing Python programs. If you are a programmer, developer, or a student, or someone who wants to learn on their own, this book is for you. What You Will Learn Gain an understanding of computer programming Understand different data and data types Work with Classes and OOP Build interfaces, simple games, and web development with Python Who This Book Is For Software programmers, developers or students, or anyone who wants to learn Python programming on their own. Table of Contents About the Author About the Technical Reviewer Introduction Chapter 1: Introduction to Computer Programming What Is Python Getting Started Setting Up Install on Windows Install on MacOS Install on Linux Summary Chapter 2: The Basics Language Classification Low-Level Language High-Level Language Python Language Syntax Reserved Words Identifiers Indentation Comments Input Output Escape Characters Writing a Program Lab Exercises Why should you include comments? Chapter 3: Working with Data Variables Local Variables Global Variables Basic Data Types Integers Floating Point Numbers Strings Lists Two-Dimensional Lists Sets Tuples Dictionaries Program Input Program Output Casting Data Types Arithmetic Operators Operator Precedence Performing Arithmetic Comparison Operators Boolean Operators Bitwise Operators Lab Exercises Summary Chapter 4: Flow Control Sequence Selection if... else elif Iteration (Loops) For Loop While Loop Break and Continue Lab Exercises Summary Chapter 5: Handling Files File Types Text File Binary Text File Operations Open Files Write to a File Read from a File Binary File Operations Open Files Write to a File Read a File Random File Access Lab Exercises Summary Chapter 6: Using Functions Declaring Functions Scope Recursion Lab Exercises Summary Chapter 7: Using Modules Importing Modules Creating Your Own Modules Lab Exercises Summary Chapter 8: Exception Handling Types of Exception Catching Exceptions Raising Your Own Exceptions Summary Chapter 9: Object-Oriented Programming Principles of OOP Encapsulation Inheritance Polymorphism Abstraction Classes and Objects Class Inheritance Polymorphic Classes Method Overriding Lab Exercises Summary Chapter 10: Building an Interface Creating a Window Adding Widgets Menus The Canvas Images Buttons Message Boxes Text Field Listbox Checkbox Labels Label Frame Interface Design Summary Chapter 11: Developing a Game Installing Pygame Opening a Window Adding an Image The Game Loop The Event Loop Shapes Basic Animation Summary Chapter 12: Python Web Development Web Servers Install the Web Server Set Up Python Support Executing a Script Python Web Frameworks Summary Appendix A: Quick Reference Data Types Numeric Operators Comparison Operators Boolean Operators String Operators List Operators Dictionary Operators String Methods List Methods Dictionary Methods Functions Files Conditional Multi-conditional While Loop For Loop Loop Control Modules Built-In Functions Declare a Class Child Class Create Object Call Object Method Access Object Attributes Exceptions Index "Written as an illustrated, step-by-step guide, this book will introduce you to Python with examples using the latest version of the language. You'll begin by learning to set up your Python environment. The next few chapters cover the basics of Python such as language classifications, Python language syntax, and how to write a program. Next, you will learn how to work with variables, basic data types, arithmetic, companion, and Boolean operators, followed by lab exercises. Further, the book covers flow control, using functions, and exception handling, as well as the principles of object-oriented programming and building an interface design. The last section explains how to develop a game by installing PyGame and how to use basic animation, and concludes with coverage of Python web development with web servers and Python web frameworks. The Absolute Beginners Guide to Python Programming will give you the tools, confidence, and inspiration to start writing Python programs. If you are a programmer, developer, or a student, or someone who wants to learn on their own, this book is for you."-- Back cover
دانلود کتاب The Absolute Beginner's Guide to Python Programming : A Step-by-Step Guide with Examples and Lab Exercises