Python Programming for Beginners: Hands-on (Online Lab)

Video description

With Python, you can build applications, such as Google, Instagram, Spotify, and Reddit. But to make such applications, you should have a strong knowledge of the fundamentals of Python. This course will be your step-by-step guide to master the fundamentals of Python programming.

The course starts by walking you through the process of setting up a Python development environment. Next, you will get an overview of the versions and history of Python programming and write a simple “Hello World” program to understand the structure of Python code. Moving along, you will get a detailed understanding of Python variables, datatypes, built-in functions, conditional statements, and loops. Next, you will learn how to work with lists, tuples, sets, dictionaries, strings, functions, modules, and packages in Python. Later, you will learn to debug your Python program, work with files, and learn how to handle exceptions. Next, you will learn how to use numbers and date and time functions in Python programs and study the concepts of package management. Finally, you will learn to create, activate, and deactivate Python virtual environments and get an overview of comprehensions and decorators.

By the end of this course, you will have gained the knowledge and skills of all the basic concepts of Python programming and will be ready to take up advanced Python concepts.

What You Will Learn

  • Explore Python datatypes variables and functions
  • Find out how to create and work with modules and packages
  • Read and write a CSV and binary file
  • Grasp techniques to handle exceptions
  • Find out how to debug Python programs
  • Create, activate, and deactivate Python virtual environments

Audience

This course is designed for anyone who is interested in learning the basics of Python programming. There are no prerequisites to take this course as you will learn everything from scratch.

About The Author

Coding Gears | Train Your Brain: GlobalETraining (brand name - CodingGears) offers self-paced technical courses and makes them easy to learn.

They have been in the IT training business for many years, offering training courses in Unix, Windows, C#, Java, Python programming, SQL server, manual testing, automation, and so on. Their instructors have 20+ years of experience in various technical areas such as software development, software testing, Windows systems, and network administration, Unix/Linux systems and network administration, virtualization technologies, storage, shell scripting, database management systems (MS SQL Server, MySQL, IBM DB2, Cassandra), containerization (Dockers), Mesos, Marathon, Jenkins, Jira, Elastic Cloud Storage (ECS), Gluster file system, CoreOS, Ansible, and other areas.

CodingGears/GlobalETraining has mentored thousands of students for over a decade and has extensive experience in delivering training—both in-class and online.

Table of contents

  1. Chapter 1 : Welcome
    1. Course Overview
    2. To Get Best Out of This Course
    3. Why Learn Python Programming?
  2. Chapter 2 : Setting up the Python Development Environment
    1. Overview
    2. Editors and Integrated Development Environments (IDEs)
  3. Chapter 3 : Python – Absolute Basics
    1. Overview
    2. History and Versions
    3. Whitespaces
    4. "Hello World!" - Program
    5. Running a Python Script from the Linux Terminal
    6. Read-Eval-Print-Loop (REPL)
    7. Adding Comments to Your Code
    8. Python.org - Quick Tour
  4. Chapter 4 : Variables, Data Types, and Built-in Functions
    1. Overview
    2. Variables and Assignments - Part 1
    3. Variables and Assignments - Part 2
    4. Build-in Data Types
    5. Mutable and Immutable
    6. Operators - Part 1
    7. Operators - Part 2
    8. Operators - Part 3
    9. Built-in Functions
    10. Zen of Python
    11. Input Statement
    12. Type Conversion
    13. Print Function
  5. Chapter 5 : Conditional Statements and Loops
    1. Introduction to "If" Statement
    2. "If" Statement - Part 1
    3. "If" Statement - Part 2
    4. "While" loop - Introduction
    5. "While" loop - Hands-on
    6. Introduction to "Continue" and "Break" Statements
    7. Control Loops with "Continue" and "Break" Statements
    8. "For" Loop - The king of loops
  6. Chapter 6 : Working with Lists
    1. Working with Lists - Part 1
    2. Working with Lists - Part 2
    3. Working with Lists - Part 3
    4. Working with Lists - Part 4
    5. Working with Lists - Part 5
    6. Working with Lists - Part 6
    7. Working with Lists - Part 7
    8. Working with Lists - Part 8
    9. Working with Lists - Part 9
  7. Chapter 7 : Working with Tuples
    1. Working with Tuples - Part 1
    2. Working with Tuples - Part 2
    3. Working with Tuples - Part 3
    4. Working with Tuples - Part 4
  8. Chapter 8 : Working with Sets
    1. Working with Sets - Part 1
    2. Working with Sets - Part 2
    3. Working with Sets - Part 3
    4. Working with Sets - Part 4
    5. Working with Sets - Part 5
    6. Working with Sets - Part 6
    7. Working with Sets - Part 7
  9. Chapter 9 : Working with Dictionaries
    1. Introduction to Dictionary Data Type
    2. Working with Dictionaries - Part 1
    3. Working with Dictionaries - Part 2
    4. Working with Dictionaries - Part 3
    5. Working with Dictionaries - Part 4
    6. Working with Dictionaries - Part 5
    7. Working with Dictionaries - Part 6
    8. Working with Dictionaries - Part 7
  10. Chapter 10 : Working with Strings
    1. Working with Strings - Part 1
    2. Working with Strings - Part 2
    3. Working with Strings - Part 3
    4. Working with Strings - Part 4
    5. Working with Strings - Part 5
  11. Chapter 11 : Functions
    1. Functions Basics
    2. Function Parameters
    3. Function Parameters - Advanced - Part 1
    4. Function Parameters - Advanced - Part 2
    5. Returning Values
    6. Building a Small Project
    7. Local and Global Variables
  12. Chapter 12 : Modules and Packages
    1. What is a Module?
    2. Importing a Module – PyCharm
    3. Importing a Module – Read-Eval-Print-Loop (REPL) (Python Console)
    4. Creating a Simple Module
    5. Where Does Python Look for Modules?
    6. dir() Function
    7. __name__ and __main__ attributes
    8. Packages - Part 1
    9. Packages – Part 2
    10. Packages - Part 3
    11. Using Docstrings
  13. Chapter 13 : Debugging
    1. Debugging - Part 1
    2. Debugging - Part 2
  14. Chapter 14 : Working with Files (Files Input/Output)
    1. Writing to a File
    2. Appending to a File
    3. Reading a File
    4. Reading and Writing to a Comma-separated Values (CSV) File
    5. Reading and Writing to a Binary File
  15. Chapter 15 : Handling Exceptions
    1. Module Overview
    2. Handling "String" Exceptions
    3. Handling "List" Exceptions
    4. Handling "File" Exceptions
    5. Raising Exceptions
  16. Chapter 16 : Working with Numbers
    1. Working with Numbers - Part 1
    2. Working with Numbers - Part 2 (Math Module)
    3. Working with Numbers - Part 3 (Formatting Numbers)
    4. Working with Numbers - Part 4 (Floats and Decimals)
  17. Chapter 17 : Working with Dates and Times
    1. Checking the Current Date and Time
    2. Extracting Date-related and Time-related Information
    3. Creating Datetime Objects
    4. Parsing Strings for Date and Time
    5. Formatting Date and Time Output
    6. Timespan
  18. Chapter 18 : Package Management
    1. Overview
    2. Script, Module, Package, and Library
    3. Python Package Index (PyPI)
    4. "pip" – Installing Python Libraries
    5. "pip" - Installing and Uninstalling Python Packages
    6. "pip" - Freeze
  19. Chapter 19 : Python Virtual Environments
    1. Overview
    2. Installing "virtualenv"
    3. Creating, Activating, and Deactivating Virtual Environments
    4. Setting up a Virtual Environment with Your Desired Python Version
    5. "virtualenvwrapper" - Part 1
    6. "virtualenvwrapper" - Part 2
  20. Chapter 20 : Comprehensions
    1. Module Overview
    2. What are Comprehensions?
    3. List Comprehensions
    4. Dictionary Comprehensions
    5. Set Comprehensions
  21. Chapter 21 : Decorators
    1. Nested Functions
    2. Warming up
    3. Creating Decorators
    4. Docstring Issues and Fixes
    5. Decorator Use Cases - A few
    6. Decorators Assignment #1
    7. Decorators Assignment #1 Solution
  22. Chapter 22 : Generators
    1. What are Generators?
    2. Simple Generator
    3. Function to Generator Function
    4. Generator Expression
    5. Processing a List
    6. Generator Pipeline
    7. Generator - "send" Method – Part 1
    8. Generator - "send()" Method – Part 2
    9. Generator - "throw()" Method
    10. Generator - "close()" Method
  23. Chapter 23 : Miscellaneous and Additional Resources
    1. Setting up Python and PyCharm in Windows 10

Product information

  • Title: Python Programming for Beginners: Hands-on (Online Lab)
  • Author(s): www.GlobalETraining.com Train Your Brain
  • Release date: January 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801074278