O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learn Python 3 from Scratch

Video Description

A definitive guide to learn Python 3.x with examples and exercises, created with beginners in mind

About This Video

  • Each lecture consist of a video screencast and code files
  • There are quizzes and homework to test your knowledge
  • There's a high focus on practice and asking questions
  • You will also learn coding best practices

In Detail

This is the most comprehensive yet simple course on the Python programming language and it concentrates on Python 3.x. This means that what you will learn is relevant, not obsolete. No prior coding experience is needed. Python is one of the most useful programming languages to learn. You can use it for the back-end of web applications, games, in-house scripts, and even for building robust test automation frameworks. In recent years, the demand for Python has exploded in the job market with insufficient developers to fill the available roles. Additionally, the QA industry is rapidly transitioning to Python and building automation tools.

Table of Contents

  1. Chapter 1 : Introduction
    1. Introduction 00:01:27
    2. How to reach me? 00:03:43
  2. Chapter 2 : Setup and Configuration
    1. Python Installation – Windows 00:03:52
    2. Configuration of Python – Windows 00:04:20
    3. Python Installation and Setup – Mac 00:09:17
    4. Must Watch Lecture Before Moving Forward 00:06:56
    5. Package Management Using PIP 00:08:05
    6. IDE Options for Python Development 00:05:46
    7. Installing iPython 00:03:41
  3. Chapter 3 : Understanding Variables and Data Type
    1. Python Terminal Walkthrough 00:11:45
    2. Understanding Objects and References 00:12:01
    3. Variables Rules 00:07:24
    4. Numbers Data Type and Math Operations 00:07:26
    5. Numbers - Exponentiation And Modulo 00:05:45
    6. Arithmetic Order of Precedence 00:06:51
    7. Boolean Data Type 00:06:02
    8. Working with Strings 00:09:33
    9. String Methods - Part 1 00:10:59
    10. String Methods - Part 2 00:08:10
    11. More String Slicing and Indexing 00:07:41
    12. Strings Formatting 00:05:10
  4. Chapter 4 : Advanced Data Types
    1. List and Accessing the Elements 00:07:54
    2. List Methods 00:10:54
    3. Working with Dictionary 00:10:34
    4. Nested Dictionary 00:07:03
    5. Dictionary Methods 00:06:41
    6. Working with Tuple 00:06:28
  5. Chapter 5 : Comparison and Boolean Operators
    1. Working with Comparators 00:09:49
    2. Understanding Boolean Operators 00:07:10
    3. Boolean Operators - Order Of Precedence 00:07:41
  6. Chapter 6 : Program Control Flow
    1. Conditional Logic - If Else Conditions 00:11:20
    2. While Loop Demo 00:07:49
    3. Break Continue and While/Else 00:09:42
    4. For Loop Demo 00:11:25
    5. Iterating Multiple Lists - Using the Zip Function 00:03:49
    6. Using Range Function In For Loop 00:08:36
  7. Chapter 7 : Methods - Working With Reusable Code
    1. Understanding Methods 00:10:27
    2. Working with Return Values 00:12:30
    3. Working With Positional / Optional Parameters 00:07:21
    4. Understanding Variable Scope 00:10:16
    5. More Built-In Functions 00:09:45
    6. Exercise with Solution 00:10:33
  8. Chapter 8 : Classes - Object Oriented Programming
    1. Understanding Objects / Classes 00:09:15
    2. Create Your Own Object 00:12:37
    3. Create Your Own Methods 00:08:59
    4. Inheritance 00:08:07
    5. Method Overriding 00:08:48
    6. Exercise with Solution 00:04:02
  9. Chapter 9 : Exception Handling
    1. Exception Handling Demo 00:10:18
    2. inally and Else Block 00:07:39
    3. Exercise with Solution 00:03:28
  10. Chapter 10 : Modules
    1. Builtin Modules 00:08:54
    2. Create Your Own Modules 00:06:42
  11. Chapter 11 : Working with Files
    1. How to Write Data to a File 00:08:48
    2. How to Read a File 00:06:24
    3. File Handling Using "With" And "As" Keywords 00:09:32
  12. Chapter 12 : Logging Infrastructure
    1. Introduction to Logging Infrastructure 00:10:50
    2. Changing the Format Of Logs 00:08:40
    3. Logger - Console Example 00:09:03
    4. Logger - Configuration File Example 00:12:27
    5. How to Write A Generic Custom Logger Utility 00:14:09
  13. Chapter 13 : Unittest Infrastructure
    1. nittest Introduction 00:05:36
    2. Writing First Test Case 00:11:00
    3. How to Implement Class Level SetUp And TearDown Methods 00:05:47
    4. How to Assert a Test Method 00:17:03
    5. How to Run Code from Terminal 00:08:34
    6. How to Create a Test Suite 00:09:41
  14. Chapter 14 : Pytest -> Advanced Testing Framework
    1. Pytest Installation and First Script 00:09:10
    2. How to Work With PyTest Fixtures 00:04:47
    3. Multiple Ways to Run Test Cases 00:08:29
    4. Conftest -> Common Fixtures to Multiple Modules 00:11:00
    5. How to Maintain Run Oder of Tests 00:09:07
    6. Running Tests Based On Command Line Arguments 00:11:43
    7. Structure Tests in a Test Class 00:11:28
    8. How to Return a Value from Fixtures 00:06:59
    9. How to Generate HTML Test Report 00:05:21
  15. Chapter 15 : Conclusion
    1. BONUS: What's next and other cool free stuff? 00:03:42