Introduction to Basic Python

This Python training course is an introductory level course designed for students who are new to the language and need to learn the basics as well as for students who have had some exposure and now...

Read More
Course Code INTRO-PYTH
Duration 3 days
Available Formats Classroom
6118 Reviews star_rate star_rate star_rate star_rate star_half
Course Image

This Python training course is an introductory level course designed for students who are new to the language and need to learn the basics as well as for students who have had some exposure and now want to take their skills to the next level by introducing new topics and reinforcing existing knowledge.

Skills Gained

  • Installing Python and writing basic scripts
  • Using built in data structures
  • Using all flow control features
  • Reading and writing from and to files
  • Using Python’s extensive libraries and functions

Who Can Benefit

This class is designed for students new to Python, or for students who have some exposure and need to expand their understanding.

Prerequisites

Good computer skills and familiarity with basic programming concepts like variables, loops, and functions.

Course Details

Part 1: Basic Use

Chapter 1: Installation and Setup

  • Where to find Python
  • Installing Python
  • Testing your installation

Chapter 2: Getting Started

  • What is Python?
  • Why Python?
  • Hello World interactive
  • Hello World command line
  • Hello World in a file
  • The print statement
  • Comments
  • Line structure
  • When Things Go Wrong – Raising Exceptions

Chapter 3: Variables and Data Types

  • Variables
  • Identifiers
  • Binding
  • Data Types
  • Basic Numbers
  • Basic Strings
  • Using Tuples and Sequences
  • Using and modifying Lists
  • Using Dictionaries
  • Sequence slicing

Chapter 4: Operators

  • Basic Numeric Operators
  • Basic Arithmetic Operators
  • Exponentiation
  • Bitwise
  • Augmented Assignment
  • Truncating Division
  • Comparison and Logical
  • Chaining
  • Short-circuiting
  • The Range Function

Chapter 5: Control Structures

  • The If Statement
  • For loops
  • While loops

Chapter 6: Functions

  • Built-in functions
  • Defining functions
  • Using function objects
  • Passing arguments
  • Returning values
  • Function overloading
  • Named parameters
  • Default parameters
  • Function scope rules
  • Using the global statement
  • Pass by reference or value

Chapter 7: Exception Handling

  • The exception mechanism
  • Using the else clause
  • Using the finally clause
  • Using the raise statement

Chapter 8: Simple File I/O

  • Opening files
  • Reading and writing files
  • Reading whole files
  • Using a file interator
  • Reading and writing binary data

Chapter 9: Getting things done with modules and libraries

  • What is a module
  • Adding module names to your namespace
  • Finding modules
  • Standard modules
  • The sys module
  • Stdout, stderr, stdin
  • Exit
  • The ose module
  • Math with modules
  • Dates and Times

Chapter 10: Advanced variables and operators

  • Advanced variables and datatypes
  • List comprehensions
  • Pass statement
  • Print >>
  • Ternary operator
  • Docstrings and Pydoc

Chapter 11: Strings and Regular Expressions

  • Strings and regular expressions
  • Using str() and repr()
  • Raw and Unicode strings
  • The re module

Chapter 12: Advanced Functions

  • Functions
  • Varargs with * and **
  • Defining vararg functions
  • Expanding sequences
  • Lambda functions
  • Embedding tests with __main__
Contact Us 1-800-803-3948
Contact Us
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward