Python 3 – Fundamentals

Course Summary

This Python 3 Foundation course gives you a fast and effective introduction to Python v3, regardless if it is your first programming language or if you already have experience with other languages like C, C++, C#, Java or similar.

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

Course introduction

The focus of this course 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.
Exercises are done using Python v3.
The exercises could also be done using Python v2 if requested.

The aim of the course is…

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

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

This course has no certification.

Info to come…

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

adsd

sat

sadasd

Course Overview

22 450 kr

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.

Skicka intresseanmälan för utbildningen

Send an expression of interest for the training