![Python 3 from Beginner to Expert - Learn Python from Scratch [Video]](https://content.packt.com/V13792/cover_image_small.jpg)
Python 3 from Beginner to Expert - Learn Python from Scratch [Video]
Subscription
FREE
Video + Subscription
$29.99
Video
$117.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$29.99
Video
$117.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterPython Basics
- Introduction
- What Is Python? Installation and First Execution
- Variables, Creating and Running External Script, Interactive Shell
- Comments
- Types of Variables
- Math Operators
- Exercise: Adding VAT to Products
- Semicolon and ENTER - Assigning Multiple Values to Variables at Once
- Assignment Operators
- Playing with Strings (Slicing, Adding, and Having Fun)
-
Functions and Libraries Basics
-
Conditional Statements
-
Loops
-
Lists
-
Advanced Types
- Tuples - What Does Immutable Mean?
- Dictionaries
- Sets
- Operations on Sets
- Nested Types
- Processing Nested Types Using Loops
- Dictionary Inside Dictionary, Dictionary Inside List - When to Choose Which?
- Extracting (Iterating Through) Values from Nested Dictionaries
- Exercise: Dynamic Dictionary with Definitions
-
Transformations
-
Functions
-
Functions - Advanced
- Multi-Module Application | How to Import Your Own Module
- Enum - What It Is and Why You Should Use It?
- Exercise: Sum of All Numbers Up to the One Entered by User
- Measuring Performance of Code | How Well (Fast) Some Parts of Code Work | Time
- Function as Argument of Another Function | How to Measure Performance of Function
- Default Arguments
- Named (Keyword) and Unnamed (Positional) Arguments
- Exercise - Checking Whether Value Is in Container
- Variable Length Argument (Multiple Arguments Sent and Saved in a Single Parameter)
- Local Versus Global Variables - Scope - Lifetime of Variables
- Mutable Versus Immutable Objects
- Shallow Versus Deep Copy of Object
- Lambda | Anonymous Functions - What Are They? When Should You Use Them?
- Use the any () Function to Determine if a List Contains Any Even Numbers
-
Random Numbers
- Drawing Random Numbers - Creating a Program that Checks Whether You Hit the Monster
- Random Events - Choice Versus Choices Function
- Shuffle - Shuffling Cards in '˜War' Game
- Exercise: Drawing Elements Without Repetition - Lottery Game - Six Numbers from 49
- Exercise | Game | Drawing Random Chests Colors with Random Rewards
- Exercise | Game | Drawing Approximate Value to a Certain Value
-
Working with Files in Python and Exceptions | I/O Operations
- What Is a File? How to Create It? Why Do We Need to It? How to Save Data?
- Exceptions, Try, Finally Block
- Opening the File Using: with'¦as'¦
- Reading the Content of a File - read Versus readlines, Splitting Lines, Encoding
- seek and Tell - Changing and Reading the Position of Last Operation in File
- Append - Adding Text at the End of File
- a+, r+, w+ - Two Function File Opening Modes
- Keyword Except - Catching Exceptions - Exercise - Loading Names and Surnames
-
JSON
-
pip | PyPi – Using External Packages
- What Is pip and PyPi? Installing and Playing with External Package - Request
- Loading Data from Server from JSON File - Preface to Next Exercise
- Processing JSON Data | Extracting Top Values from List of Dictionaries
- Refactoring - Making Our Code Easier to Maintain from the Previous Lecture
- Solution 1: Retrieving a Few Users from Server at the Same Time
- Solution 2: Retrieving a Few Users from Server at the Same Time
- Solution 3: Retrieving a Few Users from Server at the Same Time
- defaultdict Supplying Missing Values of Dictionary When Accessing Empty Element
-
API
- What Is Public API? Where to Find It? Stackoverflow API
- Getting JSON from stackoverflow.com -> Getting Top Questions from Last Week
- Opening Websites from Python Code - webbrowser Module
- Getting Records from Last Week - Datetime Module
- Exercise: Cat Facts
- Exercise: Random Cat Images by Breed
- Authorization - Log in Using API Key - Getting Holiday Calendar
-
API – Header Authorization – POST and DELETE
-
Visual Studio Code – Installation and Settings
- VSC – Downloading and Installing
- Setting Up the Workspace in VSC and Installing Basic Extensions
- Linter - What Is Linting - How to Use It, Settings in .vscode
- Code Runner | Custom Shortcuts | Shortcuts from Other Editors, Interactive Shell
- Auto Save - Making Sure Your File Is Saved after Each Change
- Snippets and Pass Keyword
- Automatic Code Formatting
- Debugging Mode - How to Professionally Debug Your Code
- Ligatures - Custom Font Created Especially for Programmers - Fira Code
-
Visual Studio Code – Useful Extensions
-
OOP – Object-Oriented Programming
- What Is Object-Oriented Programming?
- What Are Objects and Classes? How to Create a Simple Object and Class?
- Creating Your First Method - What Is "self"?
- __init__ - Sending Arguments to Class for Initialization
- Exercise: Create Rockets That Can Move Up
- Document String - docstring
- __str__ - Dunder Method Representing Text of Object
- Exercise: Organizing More than One Class - Rocket Board
- __getitem__, __setitem__ - Setting and Getting Values Using Dunder Methods
- Exercise: Counting Distance Between Rockets
- Is it Important to Understand Math That Was Used in the Previous Lecture?
- Static Methods
- Setting Type for Variables Using Annotations - Pyright Extension
- __len__
- Class / Static Variables - Creating USER with Unique IDs
- Exercise: Bank Account - Withdraw/Deposit Money
- How to Properly Handle Returned Values from Methods
- Inheritance and Method Overriding – super ()
- Exercise: Inheritance on a Practical Example - Result
- Exercise: Playing with Cube, Square, and Rectangle
- Inheritance Versus Association - When to Use Which?
-
Generator Functions
About this video
Python is renowned for its accessibility and code readability, making it an excellent choice for beginners with no prior programming experience. But Python’s appeal extends far beyond newcomers—even seasoned programmers often turn to Python when faced with complex challenges. Major tech companies such as Google (YouTube), Facebook, Dropbox, Yahoo, NASA, IBM, Mozilla, and Reddit rely on Python for various tasks, enhancing its relevance in today’s competitive job market.
This comprehensive course provides a structured learning path to master the Python programming language. You will not only grasp the fundamentals but also dive into critical concepts of object-oriented programming. You will gain proficiency in creating and using functions, explore a wide array of operators, from arithmetic to logical and relational, and discover how to manipulate strings effectively. The course will empower you to implement conditional statements for decision-making and introduce you to essential data structures such as lists, collections, tuples, dictionaries, and more.
Moreover, by the course’s conclusion, you will have the skills to import and harness Python libraries, unlocking a world of possibilities for solving real-world problems efficiently. Whether you are taking your first steps into programming or looking to expand your skill set, this course offers a versatile and valuable foundation in Python.
- Publication date:
- January 2019
- Publisher
- Packt
- Duration
- 20 hours 1 minutes
- ISBN
- 9781838552787