Python Programming 1

Python is an object oriented rapid development language deployed in many scenarios in the modern world. This Python Programming 1 course is designed to give delegates the knowledge to develop and maintain Python scripts using the current version (V3) of Python. There are many similarities between Python V2 and Python V3. The skills gained on this course will allow the delegate to develop their own skills further using Python V2 or V3 to support the development and maintenance of scripts.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Målgrupp

Programmers who need to write or maintain scripts in Python.

Ämnesområden

Session 1: Introduction to Python

  • What is Python and why Python is useful
  • Installing Python
  • The IDLE editor
  • A simple Python Program

Session 2: Python basics

  • How to run Python programs on UNIX and Windows platform
  • Lines and Indentation
  • Multiple line Statements
  • Quotation Marks
  • Reserved Words in Python
  • Python Suites
  • Input
  • Output
  • Working with Files
  • Labs

Session 3: Python variables

  • Assignments
  • Data Types
  • Numbers
  • Strings
  • Lists
  • Tuples
  • Dictionaries
  • Labs

Session 4: Python Operators

  • Arithmetic Operators
  • Comparison Operators
  • Assignment Operators
  • Bitwise Operators
  • Logical Operators
  • Membership Operators
  • Identity Operators
  • Operator Precedence
  • Labs

Session 5: Conditional and control statements

  • if elif else constructs
  • while and for Loops
  • Iteration
  • Labs

Session 6: Functions

  • Creating functions
  • Def Statement
  • Calling functions
  • Scoping variables
  • Passing arguments
  • Labs

Session 7: Modules

  • What is a module
  • Standard modules
  • How to define and code a module
  • Using import
  • Argument passing and return values from a module
  • Labs

Session 8: Pattern matching

  • The re module
  • How pattern matching works
  • Pattern matching operators
  • Pattern matching special characters
  • Labs Part 1
  • Pattern matching options
  • Pattern substitution
  • Pattern tagging
  • Translation
  • Labs Part 2

Session 9: Python OO

  • Why use OO
  • Creating a simple class
  • Inheritance
  • Passing data into a class
  • More complex classes
  • Labs

Session 10: Exceptions

  • What are exceptions
  • Default Handler
  • catch/try/raise Statements
  • Class Based Exceptions
  • What Not To Do
  • Labs

Session 11: Working with email

  • Simple emails
  • HTML Emails
  • Working with Attachments
  • Labs

Session 12: Working with databases

  • Python and Databases
  • Connecting to MySQL Database
  • Working with tables /Records

Förkunskaper

Familiarity with programming concepts.

The trainer speaks English and the courseware is written in English. 

Boka kursen

Boka din plats redan idag.

Om kursen

Pris: 25 450,00 kr

exklusive moms

Längd 3 dagar
Kurskod PYP1

KompetenskortKompetenskort gäller på denna kurs

Boka kursen

Välj ort och kursstart

lc LiveClass innebär att kursen hålls som en lärarledd interaktiv onlineutbildning.

1 oktober

26 november

Kunduppgifter

Kursanmälan är bindande. För mer information och avbokningsregler se våra allmänna villkor.