Learn Python 3 from Scratch

Video description

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.

What You Will Learn

  • Understand the concepts behind Object Oriented Programming languages
  • Understand and write efficient code
  • Use the Python language to develop back-end web applications
  • Use the Python language to create games
  • Use the Python language to build automation frameworks
  • Use the Python programming language to create your own hobby project


This course is targeted at both beginners with zero programming background and experienced programmers in another programming language. Testers who want to automate tools will also find it useful.

About The Author

Let's Kode It: Let’s Kode It is here with a mission to teach everyone a new skill—doing what they have always wanted to do. They are a group of software professionals with more than 10 years of expertise in different areas of software industries and working as team leads in multinational companies. All their instructors have a master’s degree from reputed universities. Their expertise lies in various fields of Software Development Life Cycle (SDLC)—from application development and testing to system administration.

Be it programming or creating a professional-looking MS Word document, they believe anyone can code and coding is not something out of this world. Coding can be of different types and in different areas: some may want to become a web developer, where it’s all about front-end languages; some may choose to become a back-end developer; while others may choose to become hands-on testers with automation, where the domain is completely different from development.

They believe you only need to be willing to learn and everything else follows. They excel from software inception to implementation. Their goal is to offer high-quality technology courses, which will suit a newbie as well as an intermediate. They focus on technology, which is essential in order to perform in today’s job market.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction
    2. How to Reach the Author?
  2. Chapter 2 : Setup and Configuration
    1. Python Installation - Windows
    2. Configuration of Python – Windows
    3. Python Installation and Setup – Mac
    4. First Project Creation And PyCharm Installation
    5. Must Watch Lecture Before Moving Forward
    6. Package Management Using PIP
    7. Installing iPython
  3. Chapter 3 : Understanding Variables and Data Type
    1. Python Terminal Walkthrough
    2. Understanding Objects and References
    3. Variables Rules
    4. Numbers Data Type and Math Operations
    5. Numbers - Exponentiation and Modulo
    6. Arithmetic Order of Precedence
    7. Boolean Data Type
    8. Working with Strings
    9. String Methods - Part 1
    10. String Methods - Part 2
    11. More String Slicing and Indexing
    12. Strings Formatting
  4. Chapter 4 : Advanced Data Types
    1. List and Accessing the Elements
    2. List Methods
    3. Working with Dictionary
    4. Nested Dictionary
    5. Dictionary Methods
    6. Working with Tuple
  5. Chapter 5 : Comparison and Boolean Operators
    1. Working with Comparators
    2. Understanding Boolean Operators
    3. Boolean Operators - Order Of Precedence
  6. Chapter 6 : Program Control Flow
    1. Conditional Logic - If Else Conditions
    2. While Loop Demo
    3. Break Continue and While/Else
    4. For Loop Demo
    5. Iterating Multiple Lists - Using the Zip Function
    6. Using Range Function in For Loop
  7. Chapter 7 : Methods - Working With Reusable Code
    1. Understanding Methods
    2. Working with Return Values
    3. Working With Positional / Optional Parameters
    4. Understanding Variable Scope
    5. More Built-in Functions
    6. Exercise with Solution
  8. Chapter 8 : Classes - Object Oriented Programming
    1. Understanding Objects / Classes
    2. Create Your Own Object
    3. Create Your Own Methods
    4. Inheritance
    5. Method Overriding
    6. Exercise with Solution
  9. Chapter 9 : Exception Handling
    1. Exception Handling Demo
    2. Finally and Else Block
    3. Exercise with Solution
  10. Chapter 10 : Modules
    1. Built-in Modules
    2. Create Your Own Modules
  11. Chapter 11 : Working with Files
    1. How to Write Data to a File
    2. How to Read a File
    3. File Handling Using "With" and "As" Keywords
  12. Chapter 12 : Logging Infrastructure
    1. Introduction to Logging Infrastructure
    2. Changing the Format Of Logs
    3. Logger - Console Example
    4. Logger - Configuration File Example
    5. How to Write A Generic Custom Logger Utility
  13. Chapter 13 : Unittest Infrastructure
    1. Unittest Introduction
    2. Writing First Test Case
    3. How to Implement Class Level SetUp and TearDown Methods
    4. How to Assert a Test Method
    5. How to Export PYTHONPATH
    6. How to Run Code from Terminal
    7. How to Create a Test Suite
  14. Chapter 14 : Pytest -> Advanced Testing Framework
    1. Pytest Installation and First Script
    2. How to Work with PyTest Fixtures
    3. Multiple Ways to Run Test Cases
    4. Conftest -> Common Fixtures to Multiple Modules
    5. How to Maintain Run Oder of Tests
    6. Running Tests Based on Command Line Arguments
    7. Structure Tests in a Test Class
    8. How to Return a Value from Fixtures
    9. How to Generate HTML Test Report
  15. Chapter 15 : Conclusion
    1. BONUS: What's Next and Other Cool Free Stuff?

Product information

  • Title: Learn Python 3 from Scratch
  • Author(s): Let's Kode It
  • Release date: March 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789135855