Python Fundamentals

Video description

A practical guide for learning Python, complete with real-world projects for you to explore

About This Video

  • A comprehensive introduction to the world of Python programming
  • Paves an easy-to-follow path for you to navigate through concepts
  • Filled with practical demos to reinforce your learning

In Detail

After a brief history of Python and key differences between Python 2 and Python 3, you'll understand how Python has been used in applications such as YouTube and Google App Engine. As you work with the language, you'll learn about control statements, delve into controlling program flow and gradually work on more structured programs via functions.

As you settle into the Python ecosystem, you'll learn about data structures and study ways to correctly store and represent information. By working through specific examples, you'll learn how Python implements object-oriented programming (OOP) concepts of abstraction, encapsulation of data, inheritance, and polymorphism. You'll be given an overview of how imports, modules, and packages work in Python, how you can handle errors to prevent apps from crashing, as well as file manipulation.

By the end of this course, you'll have built up an impressive portfolio of projects and armed yourself with the skills you need to tackle Python projects in the real world.

Audience

Python Fundamentals is great for anyone who wants to start using Python to build anything from simple command-line programs to web applications. Prior knowledge of Python isn't required.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 :
    1. Course Overview
    2. Lesson Overview
    3. An Introduction to Python
    4. Setting up and Experiencing Python
    5. Writing and Running Programs in Python
    6. Naming Identifiers
    7. Python Syntax
    8. Lesson Summary
  2. Chapter 2 : Section2: Variables
    1. Lesson Overview
    2. Variables, Values, and Data Types
    3. User Input
    4. Lesson Summary
  3. Chapter 3 : Section3: Data Types
    1. Lesson Overview
    2. Numerical Data
    3. Strings – Part I
    4. String – Part II
    5. String – Part III
    6. String Methods/Functions
    7. Lists
    8. Booleans
    9. Lesson Summary
  4. Chapter 4 : Section4: Control Statements and Loops
    1. Lesson Overview
    2. Control Statements
    3. The while Statement
    4. Loops
    5. The range Function and Nesting Loops
    6. Breaking Out of Loops
    7. Lesson Summary
  5. Chapter 5 : Section5: Functions
    1. Lesson Overview
    2. Functions and Its Types
    3. Local and Global Variables
    4. Using main ()
    5. Function Arguments
    6. Anonymous Functions
    7. Lesson Summary
  6. Chapter 6 : Section6: Lists and Tuples
    1. Lesson Overview
    2. Lists
    3. List Methods
    4. List Methods and List Comprehensions
    5. Tuples
    6. Tuple Methods
    7. Lesson Summary
  7. Chapter 7 : Section7: Dictionaries and Sets
    1. Lesson Overview
    2. Dictionaries
    3. Working with Dictionaries – Part I
    4. Working with Dictionaries – Part II
    5. Sets
    6. Lesson Summary
  8. Chapter 8 : Section8: Object-Oriented Programming
    1. Lesson Overview
    2. Classes, Objects and Their Attributes
    3. The __init__ Method
    4. Methods in Classes
    5. Automated Geometric Calculations Scenario
    6. Class Attributes
    7. Elevator Class Attribute Scenario
    8. Class Methods
    9. Encapsulation and Information Hiding
    10. Class Inheritance
    11. Overriding Methods
    12. Lesson Summary
  9. Chapter 9 : Section9: Modules, Packages, and File Operations
    1. Lesson Overview
    2. Creating and Using Modules
    3. Built-in Modules
    4. Packages
    5. File Operations
    6. Top 100 Words Scenario
    7. Top 100 Words Scenario – Solution Part I
    8. Top 100 Words Scenario – Solution Part II
    9. Handling Structured Data
    10. Lesson Summary
  10. Chapter 10 : Section10: Error Handling
    1. Lesson Overview
    2. Introduction
    3. Built-In Exceptions
    4. Handling Errors and Exceptions
    5. Lesson Summary

Product information

  • Title: Python Fundamentals
  • Author(s): Sanjin Dedic
  • Release date: February 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789806892