Software SKILLNET

Programming with Python


Programming with Python
Start Date28th April 2014
Course CodeSS838
VenueHotel, Dublin 1
Non-member
Full Fee
€690.00
Fee Includes
This grant aided fee includes lunch and refreshments
Duration3 days
LocationDublin
ProviderNeueda Technologies
Network Member Subsidised Fee€570.00
Download Course PDF  
  Course expired


Programme Overview
This course commences with the fundamentals of Python- statements, variables, comments, conditionals and loops then goes on to study Python's collections - Lists, Tuples and Dictionaries. Functions, modules and packages are then covered, as is the use of and creation of data types (objects)in Python. Object oriented principles and capabilities arebuilt in to the Python language, and the course explores how these can be exploited most effectively.
Course Objectives and Learning Outcomes

By the end of the course students will have a detailed understanding of:

  • Basic language principles
  • Execution models, the Python interpreter and IDE support
  • Basic types and control flow
  • Defining and using functions
  • Operating on files – input and output
  • Analysing text with regular expressions
  • Data structures – lists, tuples and dictionaries
  • Defining and using modules
  • Classes and objects
Who should attend

This course is suitable for those with prior programming experience in another language such as Perl, Java, Basic or C.

Course Content

Introduction

  • What is Python
  • History of Python
  • Portability
  • Performance
  • Libraries
  • Comparing with other Scripting Languages
  • Python versions
  • Jython and IronPython

Getting Started

  • Using the interpreter
  • Working with Source Files
  • Writing Hello World
  • Byte-compiled .pyc files
  • Indentation
  • Comments and Document strings

Data Types

  • Numbers
  • Strings
  • Variables
  • Sequences
  • Lists
  • Tuples
  • Maps and Dictionaries

Control Flow

  • if statement
  • while statement
  • for loop
  • break statement
  • exec and eval

Functions

  • Defining a Function
  • Function Parameters
  • Default Parameter Values
  • Named Parameters
  • Local and Global Variables
  • Call by Value
  • Swap Function
  • Passing Lists as parameters
  • Lambda Forms

Classes

  • Classes
  • Objects
  • Object Attributes
  • Class Attributes
  • Class Methods
  • The __init__ method
  • Dynamic Attributes

More on Classes

  • Intrinsic attributes
  • Inheritance
  • Polymorphism
  • Operator Overloading
  • Creating Classes at run-time

Modules and Packages

  • What is Package
  • What is a Module
  • importing
  • Using the sys module
  • The dir() function

Exception Handling

  • Try-Except
  • Try-Finally
  • Handling Exceptions
  • Raising Exceptions
  • User Defined Exceptions

The Python Standard Library

  • Operating System Interface Modules
  • Regular Expressions
  • Maths Libraries
  • The sys module
  • Command Line Arguments
  • Threads and Processes

Input/Output

  • File I/O
  • Formatting
  • Pickling and Unpickling