PYTHON – Master Python OOP Programming with One Guide Only! A lot of Coding, Practice and Theory Learn Python with Hands-On Projects
معرفی کتاب «PYTHON – Master Python OOP Programming with One Guide Only! A lot of Coding, Practice and Theory Learn Python with Hands-On Projects» نوشتهٔ Jane Henry و Sekuloski, Rick، منتشرشده توسط نشر 2022 در سال 2022. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
PYTHON – Master Python OOP Programming with One Guide Only! A lot of Coding, Practice, and Theory Learn Python with Hands-On Projects Many people are afraid of programming because they think learning how to code is too hard. I was one of them! But if you want to learn and master Python programming, this is the book for you. I have seen people buying many books and courses to learn Python but they never actually learned how to code. I promise my book will save you money and time. This book is balanced with theory and examples because I think the real-life examples are what you can really learn from. Why buying my book? Are you a beginner? If you are a beginner then this book is perfect for you because I will use simple English to explain the hardest concepts. This book will guide you from the start and it will make you a professional Python developer at the end. Full of theory and practical examples This book is full of theory, examples, and screenshots so you can see how the code is executed and what output it produces. I will provide enough screenshots so that even if you don’t run the code on the computer, you will still learn all of the Python features. Every tool you need will be free Every chapter of this book is selected and tailored according to what modern Python developers should know. The tools I will use are free so you can download them and use them for free. I promise you won’t need to spend extra money. Learn Python Programming Language very fast This book is created so you can read, write, and execute code very fast. You can learn how to code Python in just a few days or weeks. Few of the things you will learn in this book: What is Python? What are variables? What are comments? What are Python Data types? How to install Python How to execute Python What is OOP (Object Oriented Programming)? What are Integers? What are Floats? What are Strings? What are Tuples? What are Dictionaries? What are Sets? What are Lists? What are Objects? What are Functions? What are Statements? What are Operators? What are Augmented Operators? How to Install PyCharm IDE How to Install VS Code editor How to format Strings How to write your own functions What are errors? How to handle errors What are Classes? What are Instances? What are Constructors? The difference between functions and methods How to use replit.com to write and execute code How to create your own modules How to create packages How to import modules What is class Inheritance? Multiple Inheritance Python Indentation What are class attributes and methods? ....... Hands-on projects: Finally, you'll be given two hands-on projects that require you to use the knowledge you have gathered them. Click on the buy button. I can’t wait to finally meet you. Preface Who is this book for? How to Get the most out of this book? Download The files Chapter 1 - Python Basics What is Python? Why is Python so popular? Python Interpreter Why so many programming languages? Getting Started – How to Run Python Code Write Our First Python Code Variables in Python Comments in Python Data Types Int – Integer (data type) Float– Floating point number (data type) How Integer and Float are stored Python Power Operator (**) Python Double Slash (//) Operator: Floor Division Python Modulo Operator (%) Math functions on Int and Float data types round() abs() Operator Precedence Order of precedence: Rules for Naming a Variable Reassign variables to a new value Constants in Python Dunder Variables or Dunder Methods Expressions and Statements in Python Augmented assignment operator Str – String (data type) String Concatenation Type Conversion or Type Casting Implicit Type Conversion Escape Sequence Formatted Strings How Strings are Stored? Slicing Strings – get a substring of a string String-slicing with stepover String immutability Practice time Functions and Methods – What differentiates them? len() Upper() Capitalize() lower() find() replace() join() Python IN Keyword Booleans in Python (data type) Lists in Python (Data type) List Slicing Python IN Keyword with Lists Multi-Dimensional Lists Lists Methods append() method insert() method extend() method pop() method remove() method clear() method index() method count() method sort() method copy() method reverse() method Useful tips and tricks used on Lists Copy of the list using the slicing method Generate new list using range() function .join() List Unpacking None in Python (data type) Dictionary in Python (data structure) Dictionary – methods get() method keys() values() method items() method clear() copy() pop() popitem() update() setdefault() method Tuples in Python (data type) Tuple methods Count() index() Sets in Python (data type and data structure) Accessing Items in Sets Check the Set length Create a Set from a List Convert a Set to a List Python Set Methods copy() method clear() method difference() method difference_update() method discard() method intersection () method intersection_update() method isdisjoint() method Union() issubset() Issuperset() Summary Chapter 2 – Python Conditional, Logical Operators and loops Control Structures If-statement if-else statement if-else statement elif Understanding Python Indentation Python Operators Arithmetic Operators Assignment Operators Assign operator ‘=’ Add and Assign += subtract and assign -= multiply and assign divide and assign /= modulus and assign %= divide(floor) and assign //= exponent and assign **= bitwise AND &= bitwise OR |= bitwise XOR ^= bitwise right shift and assign bitwise left shift and assign Comparison Operators Logical operators Truthy vs Falsy values Boolean Context The built-in bool() function Ternary Operator Short-Circuiting Python Identity Operators The ‘is’ operator versus the ‘==’ Membership Operators Python Loops Nesting loops While Loop While Loop Iterables items() method values() method keys() method The built-in Range() function Enumerate () Break, continue and pass statements Practice Time Here is my solution (code only) Python Functions Function Arguments and Parameters Positional and Keyword Arguments Default Arguments and Parameters Function Return Nested functions Docstrings in Python Python *args and **kwargs Scope More about Scopes Python nonlocal Keyword Chapter 3 Python Installation Python installation macOS Python installation Windows OS Python installation LINUX user only - Python Installation Developer Tools Explore the Visual Studio Code Useful Terminal/Command Prompt Commands Code Formatting What is PEP? PyCharm Installation What about code formatting in PyCharm? Summary Chapter 4 – Object Oriented Programming – Advanced Python Class keyword Why Object-Oriented Programming? The Principles of Object-Oriented programming What other languages support Object Oriented Programming? How can we create Classes in Python? What are Classes and Objects in Python? Class Constructor, attributes, methods Class Object Attribute __init__ Constructor Constructor with default values Create Class Methods using @classmethod Static method @staticmethod 1st Pillar of OOP - Encapsulation 2st Pillar of OOP – Abstraction Python Private vs Public Variables 3rd Pillar of OOP – Inheritance Method overriding isinstance() function – Python 4th Pillar of OOP – Polymorphism super() function Code introspection in Python id() Dunder/Magic methods Multiple Inheritance MRO – Method Resolution Order Summary Chapter 5- Phyton – Modules and Packages Why We Need Python Modules? Python Packages Import modules using from-import syntax Import modules using from-import * syntax Python Module alias Python __name__ Python Built-in Modules The biggest reason why Python is a great programming language Install Python Packages using PyPi repository Summary Chapter 6 – Working with Files in Python Open Write and Append to Files Write to a file Append File Paths Try – Except block for error handling Summary Chapter 7 – Error Handling Errors in Python Error Handling Except block Finally block Raise an Exception Summary Projects Project_1: Guess the Random Number Coding hints Project_2: Teacher, Student App Let’s start with removing and renaming files Password hashing Datetime module Screenshots and files Starter code with comments on what code you should add Main.py file: Login.py file: Register.py student_tasks.py Appendix A – Project Solutions Project_1: Guess the Random Number Solution: Project_2: Teacher, Student App Solution Appendix B: My Bestseller books Appendix C: More exercises and learn more about JavaScript, HTML, and PHP Appendix D: Resources
دانلود کتاب PYTHON – Master Python OOP Programming with One Guide Only! A lot of Coding, Practice and Theory Learn Python with Hands-On Projects