[Plus Plus Pty Ltd]

Plus Plus Pty Ltd

Python Introduction - 2 days

Objectives

This course covers the basic syntax and process of writing Python programs for programmers who are familiar with programming in another language.

Expected outcomes

Upon successful completion of this course you will be able to:

Audience

This course is aimed at programmers who want to learn the Python language and environment. Experience with Python is not necessary.

Prerequisites

As the course contains many hands-on exercises, recent, practical experience with another programming language, such as Pascal, BASIC, C or C++ is required. Understanding of programming terms such as variable, array, test, loop, subroutine is necessary.

Outline

The basics

Overview
Python compilers
A simple Python program
Interactive Python
Syntax
Comments
Declaring variables
Operators
Working with strings
String formatting
Getting input and creating output
Control flow - tests and loops

Moving on

Shorthand operators
Lists, Tuples and Dictionaries
Joining and splitting strings
Regular expressions
Declaring and using functions
Global variables
Functions
The standard library
Command line arguments

Functions and Object Orientated Programming

Writing a function
Creating your own module
Creating your own Classes
Constructors and converting to String

The Python System

Debugging code
Python style and best practice
Python documentation

Working with files

Reading and Writing files
Working with directories
Working with processes

Also available

Introduction to Programming (1 day)
Introduction to Perl (2 days)
Intermediate Python (3 days)
Advanced Python (3 days)


[ home ] [ training ] [ consulting ] [ development ] [ contact ]

Copyright © 1998-2013 Plus Plus Pty Ltd [www.plusplus.com.au]