Python 3 – Fundamentals

Översikt

This Python 3 Foundation course gives you a quick 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 an open source portable scripting language (C & Python) and a high-level, general-purpose compilation/interpretation language 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.

Introduction to the course

The focus of this course is to give you as a participant a solid introduction to Python’s history and usefulness 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 with Python v3.
The exercises can also be done with Python v2 if desired.

The purpose of the course is to…

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

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

This course has no certification.

Information to come later…

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

Kursöversikt

22 450 kr

3 dagar

Distans, Klassrum

Grund

Engelska, Svenska

Hittar du inget (passande) datum?

Skicka in en intresseanmälan så gör vi vad vi kan för att planera ett tillfälle som passar. 

Fö­re­tags­an­pas­sad kurs

Kursen kan anpassas från flera perspektiv:
  • Innehåll och fokusområde
  • Omfattning
  • Upplägg

I samspel med kursledaren ser vi till att kursen uppfyller era önskemåll

Skicka intresseanmälan för utbildningen