Python 3 – Basic

Course Summary

This Python 3 Foundation course gives you a quick and and effective introduction to Python v3, whether it’s your first programming language or you already have experience with other languages such as C, C++, C#, Java or similar.

Python is a portable open source scripting language (C & Python) and a high-level general purpose language with compilation/interpretation similar to that of Java (.pyc bytecode files).
Python is more like plain English than most other programming languages, i.e. Python provides logical, readable and maintainable code.

The focus of this course is is to give you as a participant a solid introduction to the history and usefulness of Python as a programming language and also give you a box of tools to work with directly in your own business.

During the course we discuss and highlight the differences between Python v2 and v3.
The exercises are done with Python v3.

 

This product is currently out of stock and unavailable.

Course Objective

The aim of the course is to gain a solid understanding of the Python 3 programming language.

Target Audience

Programmers, testers and others involved in projects that will use Python as a coding language.

Prerequisites

Knowledge of a “major” programming language is positive but not mandatory.

Certification

This course has no certification.

Trainer

We have several trainers for this course, several of them from Mindroad.

Mindroad is an engineering company that offers advanced software development training with a focus on embedded systems, methodologies and workflows, and application development. Their instructors combine engineering work in software development with conducting training sessions, allowing them to share their experiences from their daily work.

Course Details

Day 1

– Python – history/overview

– Basic Data Types

  • type checking
  • base types
  • binding
  • built-in objects
  • sequences
    – lists
    – tuples
    – strings
  • mappings
    – dictionaries
  • assignment

– Flow Control

  • comments
  • statements
  • operators
  • conditionals
  • loops
  • range

– Sequences and Mappings

  • mutable vs immutable
  • indexing sequences
  • slices
  • IN, NOT IN
  • list initialization & methods
  • fixed enumeration
  • iterations over lists
  • tuple initialization & methods
  • strings
  • dictionaries
  • iteration over dictionaries

Day 2

– Basic Input/Output

  • input vs Raw_input
  • eval
  • the print statement
  • the print function
  • command line arguments
  • reading from STDIN
  • reading from files
  • writing to files
  • seek, tell
  • basic string formatting

– Functions

  • def keyword
  • LGB scope
  • return values
  • arguments & parameters
  • lambda functions
  • maps

– Exceptions

  • raise
  • assertive
  • try / except
  • exception object hierarchy
  • warnings

Day 3

– Modules & Packages

  • standard modules
  • paths
  • packages vs modules
  • __init__ files
  • import keyword
  • namespaces
  • user-defined modules
  • doc string
  • pydoc

– Object-oriented Programming

  • basic principles
  • classes
  • instances
  • attributes
  • methods
  • self
  • instance attributes
  • class attributes
  • id
  • type
  • inheritance

– Subprocess

  • os.system
  • deprecated modules
  • sub.call
  • sub.check
  • sub.popen
  • redirect streams
  • subprocess32

Course Overview

3 days

Can’t find a (suitable) date, but are interested in the course? Send in an expression of interest and we will do what we can to find a suitable opportunity.

Customized Courses

The course can be adapted from several perspectives:

  • Content and focus area
  • Extent and scope
  • Delivery approach

In interaction with the course leader, we ensure that the course meets your needs.

Send an expression of interest for the training

Send an expression of interest for the training