Python Programming – Introduction

23900 kr

This Python 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, i.e Python provides for logical, readable and maintainable code.

Utbildningen har även öppna/schemalagda kurstillfällen

På distans 23-25 april, 10-12 juni, 23 september

Beskrivning

Target Group

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

Prerequisites

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

Course Overview

The focus of this course is to give you as a participant a fast introduction to history and usefullness 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 highlights the differences in between Python v2 and v3. Exercises are done using Python v3. The exercises could also be done usinge Python v2 if requested

Day 1

– Python – history/ overview

– Basic Data Types

type-checking
base types
bindings
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 initialisation & methods
fast enumeration
iterations over lists
tuple initialisation & 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
map
– Exceptions

raise
assert
try / except
exception object hierachy
warnings

Day 3

– Modules & Packages

standard modules
paths
packages vs modules
__init__ files
import keyword
namespaces
user-defined modules
docstring
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

 

Kursen levereras i samarbete med

Kontakta oss om denna kurs

Ytterligare information

Kurslängd

3 dagar

Lärarledd

Ja

Språk

Svenskt tal, material på engelska

Recensioner

Det finns inga recensioner än.

Endast inloggade kunder som har köpt denna produkt får lämna en recension.

Du kanske också gillar …