RTD Training & Development

Programming in Python

Call us on +44 (0)1225 66 72 72 or send us a message

Programming in Python

Note: During the Covid-19 crisis, courses will only be delivered over the web

4 days hands-on £1,940+VAT

This course can be delivered over the web

Next scheduled date:
Monday January 13th, 2025 Enrol Now!

Can't wait that long? It may be possible to deliver this course at an earlier date. Contact us if you're interested
Python essentials and overview of GUI and web development

Outline

The Python Environment

  • Running the Python interpreter
  • Python program structure
  • Integrated Development Environments
  • Documentation

Python Basics

  • Program input & output
  • Data types
  • Variables
  • Conditionals
  • Looping
  • Scalar operators & functions

Container Objects

  • Strings
  • Tuples
  • Lists
  • Dictionaries
  • Indexing & slicing
  • Iteration
  • Container operators & functions

Functions

  • Defining & calling functions
  • Local & global variables
  • Argument passing
  • Functional processing constructs

Modules

  • Files & modules
  • Namespaces
  • Scope
  • Packages

Regular Expressions

  • Simple regular expressions
  • Metacharacters
  • Character classes
  • Back-references
  • Capturing sub-patterns
  • Non-greedy qualifiers
  • Pattern matching
  • Substitution

Object-Oriented Programming

  • Classes and attributes
  • Instances and attributes
  • Binding and method invocation
  • Inheritance
  • Access control
  • Delegation

GUI Programming

  • Using TkInter
  • The Grid Layout Manager
  • Dimensions, fonts and colours
  • Basic widgets
  • Widget configuration
  • Command procedures
  • Menus
  • Standard dialogs

Error Handling

  • Exception processing
  • Standard exception classes
  • Exception specifiers
  • Raising exceptions
  • User-defined exceptions

Files

  • Manipulating files and directories
  • Reading and writing data

Network Programming

  • TCP/IP Overview
  • Client sockets
  • Server sockets

Web Programming

  • Writing web clients
  • HTML processing
  • Writing CGI scripts
  • Form processing

Overview

Python is an interpreted, interactive, object-oriented programming language with a simple syntax and cross-platform support. Python is extensible and new built-in modules are easily written in C or C++.

This course provides a hands-on introduction to Python. The workshops are based on real-world examples of Python applications.

Objectives

On successful completion of this course, participants will be able to:

  • Write, debug and execute Python code
  • Understand Python's powerful regular expressions
  • Use Python to manipulate files and directories
  • Write networked and web-enabled applications in Python
  • Create graphical interfaces with TkInter

Audience

This course is for programmers, testers, web developers and system administrators who wish to use the Python programming language in their environment.

Prerequisites

Participants are expected to be familiar with at least one other programming language and to have some knowledge of HTML.

share buttons
share on twitter
share on linkedin
share on facebook
share by email