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

Python Programming for Beginners - Learn in 100 Easy Steps

Video Description

Learn Python Programming using a Step By Step Approach with 200+ code examples.

About This Video

  • The course is amazing, the instructor has good knowledge in the field
  • This course can be viewed with zero Python Programming Experience

In Detail

Python is one of the most popular programming languages. Python offers both object-oriented and structural programming features. We love Programming. Our aim with this course is to create a love for Programming.

In more than 150 Steps, we explore the most important Python Programming Language Features

  • Basics of Python Programming - Expressions, Variables, and Printing Output
  • Python Operators - Python Assignment Operator, Relational and Logical Operators, Short Circuit Operators
  • Python Conditionals and If Statement
  • Methods - Parameters, Arguments and Return Values
  • An Overview Of Python Platform
  • Object-Oriented Programming - Class, Object, State and Behavior
  • Basics of OOPS - Encapsulation, Inheritance and Abstract Class.
  • Basics about Python Data Types
  • Basics about Python Built-in Modules
  • Conditionals with Python - If Else Statement, Nested If Else
  • Loops - For Loop, While Loop in Python, Break and Continue
  • Immutablity of Python Basic Types
  • Python Data Structures - List, Set, Dictionary and Tuples
  • Introduction to Variable Arguments
  • Basics of Designing a Class - Class, Object, State and Behavior. Deciding State and Constructors.
  • Introduction to Exception Handling - Your Thought Process during Exception Handling. try, except, else and finally. Exception Hierarchy. Throwing an Exception. Creating and Throwing a Custom Exception.

All the code and supporting files for this course are available at: https://github.com/PacktPublishing/Python-Programming-for-Beginners---Learn-in-100-Easy-Steps

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Introduction
    1. Introduction 00:02:23
    2. How to Make Best use of the Course Guide? 00:01:15
    3. Installing Python and Launching Python Shell 00:03:50
  2. Chapter 2 : Introduction to Python Programming With Multiplication Table
    1. Step 01 - Getting Started with Programming 00:02:11
    2. Step 02 - Introduction to Multiplication Table challenge 00:01:15
    3. Step 03 - Break down Multiplication Table Challenge 00:01:56
    4. Step 04 - Python Expression - An Introduction 00:05:40
    5. Step 05 - Python Expression – Exercises 00:01:38
    6. Step 06 - Python Expression – Puzzles 00:05:35
    7. Step 07 - Printing output to console with Python 00:04:54
    8. Step 08 - Calling Functions in Python – Puzzles 00:10:12
    9. Step 09 - Advanced Printing output to console with Python 00:05:18
    10. Step 10 - Advanced Printing output to console with Python - Exercises and Puzzle 00:04:28
    11. Step 11 - Introduction to Variables in Python 00:07:56
    12. Step 12 - Introduction to Variables in Python – Puzzles 00:05:10
    13. Step 13 - Assignment Statement 00:07:43
    14. Step 14 - Tip - Using formatted strings in print method 00:03:07
    15. Step 15 - Using For Loop to Print Multiplication Table 00:08:02
    16. Step 16 - Using For Loop in Python – Puzzles 00:06:02
    17. Step 17 - Using For Loop in Python – Exercises 00:05:05
    18. Step 18 - Getting Started with Programming - Revise all Terminology 00:03:36
  3. Chapter 3 : Introduction to Methods - Multiplication Table
    1. Step 00 - Section 02 - Methods - An Introduction 00:01:53
    2. Step 01 - Your First Python Method - Hello World Twice and Exercise Statements 00:04:39
    3. Step 02 - Introduction to Python Methods – Exercises 00:03:39
    4. Step 03 - Introduction to Python Methods - Arguments and Parameters 00:09:44
    5. Step 04 - Introduction to Python Method Parameters – Exercises 00:04:21
    6. Step 05 - Introduction to Python Method - Multiple Parameters 00:04:57
    7. Step 06 - Getting back to Multiplication Table - Creating a method 00:04:25
    8. Step 07 - Tip - Indentation is king 00:03:57
    9. Step 08 - Introduction to Python Method - Puzzles - Named Parameters 00:08:51
    10. Step 09 - Introduction to Python Method - Return Values 00:04:31
    11. Step 10 - Introduction to Python Method - Return Values – Exercises 00:04:32
  4. Chapter 4 : Introduction to Python Platform
    1. Step 01 - Writing and Executing your First Python Script 00:07:14
    2. Step 02 - Python Virtual Machine and bytecode 00:03:53
  5. Chapter 5 : Introduction to PyCharm
    1. Step 01 - Installing and Introduction to PyCharm 00:01:42
    2. Step 02 - Write and Execute a Python File with PyCharm 00:03:53
    3. Step 03 - Execise - Write Multiplication Table Method with PyCharm 00:05:10
    4. Step 04 - Debugging Code with PyCharm 00:09:00
    5. Step 05 - PyCharm Tips: Tool Windows 00:03:08
    6. Step 06 - PyCharm Tips: Keyboard Shortcuts 00:10:53
  6. Chapter 6 : Basic Numeric Data Types and Conditional Execution
    1. Step 01 - Introduction to Numeric Data Types 00:05:56
    2. Step 02 - Exercise - Calculate Simple Interest 00:04:50
    3. Step 03 - Introduction to Numeric Data Types – Puzzles 00:05:38
    4. Step 04 - Introduction to Boolean Data Type 00:03:20
    5. Step 05 - Introduction to If Condition 00:04:38
    6. Step 06 - Introduction to If Condition – Exercises 00:04:34
    7. Step 07 - Logical Operators - and or not 00:03:15
    8. Step 08 - Logical Operators - and or not – Puzzles 00:06:51
    9. Step 09 - Introduction to If Condition - else and elif 00:06:17
    10. Step 10 - if, else and elif - Menu Exercise - Part 1 00:08:26
    11. Step 11 - if, else and elif - Menu Exercise - Part 2 00:05:03
    12. Step 12 - if, else and elif – Puzzles 00:04:34
  7. Chapter 7 : Text in Python
    1. Step 01 - Text in Python - Methods in str class 00:08:56
    2. Step 02 - Data Type Conversion – Puzzles 00:04:38
    3. Step 03 - Strings are immutable 00:06:15
    4. Step 04 - There is no separate Character data type 00:03:27
    5. Step 05 - String module 00:04:37
    6. Step 06 - Exercise - is vowel, print lower case and upper case characters 00:07:06
    7. Step 07 - String - Exercises and Puzzles 00:05:39
    8. Step 08 - String – Conclusion 00:02:50
  8. Chapter 8 : Python Loops
    1. Step 01 - For loop basics 00:02:21
    2. Step 02 - For loop exercise 1 - is_prime 00:07:26
    3. Step 03 - For loop exercise 2 - sum_upto_n 00:03:06
    4. Step 04 - For loop exercise 3 - sum of divisors 00:03:28
    5. Step 05 – For loop exercise 4 - print a number triangle 00:05:08
    6. Step 06 - Introduction to while loop in Python 00:05:19
    7. Step 07 - While loop – Exercises 00:05:53
    8. Step 08 - Choosing a Loop - Menu Exercise 00:05:07
    9. Step 09 - Loops - Puzzles - break and continue 00:09:41
  9. Chapter 9 : Python Tips for Beginners
    1. Tip 1 - Using Predefined Python Modules 00:04:01
    2. Tip 2 - Loop - Getting Index Element 00:02:52
    3. Tip 3 - Short hand If Statement 00:02:25
    4. Tip 4 - Python is Strongly Typed and Dynamic Language 00:03:55
    5. Tip 4 - Beginners Mistakes – Shadowing 00:02:49
    6. Tip 5 - Beginners Mistakes – Indentation 00:02:28
    7. Tip 6 - PEP8 - Python Style Guide 00:04:02
    8. Tip 7 - PEP20 - Zen of Python 00:03:21
  10. Chapter 10 : Introduction to Object Oriented Programming
    1. Step 00 - Introduction to Object Oriented Programming - Section Overview 00:01:01
    2. Step 01 - Introduction to Object Oriented Programming – Basics 00:05:24
    3. Step 02 - Introduction to Object Oriented Programming - Terminology - Class, Object 00:04:56
    4. Step 03 - Introduction to Object Oriented Programming - Exercise - Online Shopping 00:03:09
    5. Step 04 - First Class and Object - Country class 00:05:33
    6. Step 05 - Create Motor Bike Python Class and a couple of objects 00:07:24
    7. Step 06 - Class and Objects - a few Puzzles 00:03:53
    8. Step 07 - Constructor for MotorBike class 00:07:33
    9. Step 08 - Constructor for Book class – Exercise 00:01:32
    10. Step 09 - Constructors – Puzzles 00:08:29
    11. Step 10 - Class and Objects - Methods and Behavior 00:06:54
    12. Step 11 - Exercise - Enhance Book class with copies 00:03:24
    13. Step 12 - Class and Objects - Methods and Behavior - Puzzles on self 00:04:59
    14. Step 13 - Advantages of Encapsulation 00:03:09
    15. Step 14 - Everything is Object in Python 00:04:17
  11. Chapter 11 : Python Data Structures
    1. Step 01 - Python Data Structures - Why do we need them? 00:04:21
    2. Step 02 - Operations on List Data Structure 00:03:12
    3. Step 03 - Exercise with List - Student class 00:08:52
    4. Step 04 - Puzzles with Strings Lists 00:06:46
    5. Step 05 - List Slicing 00:06:05
    6. Step 06 - List Sorting, Looping and Reversing 00:07:18
    7. Step 07 - List as a Stack and Queue 00:03:50
    8. Step 08 - List with a custom class - Country and representation 00:04:48
    9. Step 08 - List with a custom class - Part 2 - sorting, max and min 00:04:58
    10. Step 09 - List Comprehension 00:05:20
    11. Step 10 - Introduction to Set 00:05:40
    12. Step 11 - Introduction to Dictionary 00:04:59
    13. Step 12 - Exercise with Dictionary - Word and Character Occurrences 00:04:33
    14. Step 13 - Puzzles with Data Structures 00:05:48
    15. Step 14 – Tuples 00:06:59
  12. Chapter 12 : Object Oriented Programming Again
    1. Step 01 - OOPS Basics Revised 00:02:06
    2. Step 02 - Designing a Fan Class 00:08:19
    3. Step 03 - Object Composition - Book and Reviews 00:08:22
    4. Step 04 - Why do we need Inheritance 00:04:32
    5. Step 05 - All classes in Python 3 inherit from object 00:01:30
    6. Step 06 - Multiple Inheritance 00:05:06
    7. Step 07 - Creating and Using an Abstract Class 00:04:04
    8. Step 08 - Template Method Pattern with Recipe Class 00:07:05
    9. Step 09 - A Quick Revision 00:01:33
  13. Chapter 13 : Error Handling with Python
    1. Step 01 - Introduction to Error Handling - Your Thought Process during Error Handling 00:03:11
    2. Step 02 - Basics of Exception Hierarchy 00:04:10
    3. Step 03 - Basics of Error Handling - try except 00:04:48
    4. Step 04 - Handling Multiple Errors with Multiple except blocks 00:07:31
    5. Step 05 - Error Handling - Puzzles - Exception Details 00:06:39
    6. Step 06 - Error Handling - finally and else 00:04:22
    7. Step 07 - Error Handling - Puzzles 2 00:02:47
    8. Step 08 - Raising Exceptions 00:07:02
    9. Step 09 - Raising Custom Exceptions 00:03:52
  14. Chapter 14 : A Few More Python Tips
    1. Tip 1 - Math Module and Decimal Class 00:04:33
    2. Tip 2 - Statistics Module - find mean and median 00:02:30
    3. Tip 3 - Collections Module - deque for Queue and Stack 00:02:52
    4. Tip 4 - Date Module 00:06:07
    5. Tip 5 - Methods and Arguments – Basics 00:07:15
    6. Tip 6 - Methods and Arguments - Keyword Arguments 00:04:50
    7. Tip 7 - Methods and Arguments - Unpacking Lists and Dictionaries 00:03:45
    8. Tip 8 - Creating Custom Modules and Using Them 00:06:34
    9. Tip 9 - Defining Equality for Classes 00:07:56
    10. Tip 10 – None 00:05:53
  15. Chapter 15 : Thank You and Congratulations
    1. Congratulations 00:00:50