|• Monday 11 February 2019||• Monday 8 April 2019|
|• Monday 10 June 2019||• Monday 5 August 2019|
|• Monday 14 October 2019||• Monday 2 December 2019|
This course starts at the fundamentals of programming - statements, variables,
comments, conditionals and loops - a gentle introduction for the newcomer to programming,
including an initial look at how to translate a requirement into a coded solution.
On the second day, the course looks deeper at Python's statment, variable, comment, loops and
conditional structures, 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. An overview of OO
principles is included at this point, followed by the "heart" of the course which
covers objects ... and dictionaries, strings, files and exceptions as object too.
We introduce the development environments and other resources available, and take a look
with practical exercises at test procedures and good code design.
The final modules of the course introduce the practical use of Python in
a number of applications, such as online (cgi and Django), XML and database connectivity,
graphic user interfaces (Tkinter, wxPython, Qt and GTK) and
Data Munging and Systems administration tasks.
Python is powerful, portable, object-oriented open source programming
language for writing stand alone programs, quick scripts, and prototypes for large
|Learning to Progam (module Q100) What is programing?
Why are there so many langauges?
Which language for what purpose?
How to plan your progamming project.
Making best use of existing resources.
|Programming Principles (module Q101) Stored programs - running from file.
Very fast, but an IQ of zero.
Variable and variable types.
Conditions and conditional code.
Loops and named blocks of code.
Pointers and references.
Compilers and Interpretters.
Program and system design.
Python language fundamentals
|Introduction to Python (module Y101) What is Python?
Running Python from the command line.
Running Python from a script file.
Hello Python World.
Sourcing and installing Python.
|Python - Fundamentals (module Y102) Assignments and Data Types in Python.
Strings, Integer Real and Complex numbers.
Expressions and Operators.
Coercion and Conversion.
The print statement.
Input and raw_input.
Commenting your program.
|Conditionals and Loops (module Y103) Booleans.
If, elif and else.
Break and continue.
|Analysing a Programming Task (module Q904) A small job.
Learning about the job.
Working it out.
As a job gets larger.
|Lists and Tuples (module Y104) What are collections and why do we have them?
Introduction to lists.
The for loop.
List and Tuple Slices.
Copying a list, conerting to a list or tuple.
Concatanating and repeating lists.
Comparing lists and the in operator.
|Functions, Modules and Packages (module Y105) Def and parameters. Default parameters.
Variable scope and namespaces.
Generator functions and yield.
from and import.
Built in and user defined modules.
Python, Object Orientation, Object use
|Object Orientation: Individual Objects (module Q906) History - unstructured and structured code.
Introduction to object oriented programming.
Classes and methods.
Static and nonstatic.
Instances, constructors and destructors.
Accessing members of a class.
Loading and using classes.
Direct access to variables.
Encouraging class use.
|Python - using functions, objects and modules. (module Y200) Built in functions.
Passing parameters in and out.
Methods on built in data types.
Loading modules - from v import.
Calling functions and methods from modules.
Learning about methods in a standard module.
A caution on globals and statics.
|Object Oriented Python (module Y106) Class statement.
Attributes of an object and class.
Creating instances with __init__.
Bound and Unbound methods.
Writing methods to reference object data.
Method and variable naming conventions.
|Dictionaries (module Y107) What is a dictionary.
Dictionary operators and methods.
Iterating through a Dictionary's keys.
For, range and xrange.
Counting and existence.
Sets and frozensets.
Sorting (via lists)
|String Handling (module Y108) Methods on String Objects.
Regular Expressions and the re module.
Regular Expression and Match Objects.
|Exceptions (module Y109) Concept of exceptions.
Try, except, else and finally.
Types of exceptions.
|File Handling (module Y110) Built in File data types.
Opening, reading writing and appending files.
File system checks
|More on Collections and Sequences (module Y111) Complex structures.
Copy and deepcopy.
More methods on lists.
User defined sorting.
Combining copying and comparing dictionaries.
|Object Orientation: Composite Objects (module Q909) Review of object orientation basics.
Base classes and subclasses.
Overriding and abstract classes.
Multiple inheritance and alternatives.
Hierarchy and visibility.
A note on design.
|Objects - Intermediate (module Y112) Inheritance.
Pickling and shelving objects.
Old Style Objects (prior to Python 2.2)
|Object Orientation: Design Techniques (module Q907) Overview - why design?
OOD, OOA, OOP.
Waterfall, spiral and Incremental models.
Micro, macro and specification.
Booch, Yourdon and the OO design wars.
Unified Modeling Language (UML).
Views, diagrams, model elements and general mechanisms.
Extending UML - stereotypes, tagged values and constraints.
Functions of tools such as Rational Rose.
Drawing support, model repository, navigation, code generation.
Configuration, version control and associated tools.
|Additional Python Facilities (module Y115) Is Python compiled or interpreted?.
Regular expressions in Python.
Elements of a Python-style regular expression.
Methods available on Python regular expressions.
Some more examples and features of regular expressions.
Some popular regular expressions.
Running Python and system commands from within.
Handling dates and times in Python.
Pickling and shelving.
Accessing the environment from Python.
Talking to SQL databases from Python.
|Object Orientation: Design Patterns (module Q908) What are design patterns?
Attributes, properties and accessors.
Factory methods, Comparators, etc.
Printing and serialising.
|Applying OO design techniques and best practise (module Y116) Review of OO design techniques.
Review of OO facilities in Python.
Naming conventions in Python.
How to arrange your classes, modules and packages.
Documentation and code control.
|Code testing, patterns, profiles and optimisation. (module Y212) Decorators.
Factories and Comparators.
Unittest and Doctest.
Python uses and applications
|Already written modules (module Y117) Built in objects.
time, re, unittest etc.
The Vaults of Parnassus and the Cheeseshop.
Sourceforge and other sources.
wx, tkinter, qt.
|Python and SQL databases (module Y113) A built in database - SQLite.
Connection to a database server.
Drivers for MySQL and other databases.
The basic principles of databases.
Using SQLite from Python.
Using MySQL and other databses from Python.
Checking your tables from the command line.
Databases in Django.
|numpy, scipy and matplotlib (module Y118) Introduction to numpy, scipy and matplotib.
Sourcing and installing numpy.
Data type wrappers - how and why.
N-Dimensional array objects.
Saving and loading - files, databases and broadcasting.
Sourcing and installing scipy.
Linear Algebra and Fourier Transform.
Random Number capabilities.
Ordinary Differential Equations (ODEs).
Sourcing and installing matplotlib.
First steps in data graphing with matplotlib.
Tuning your graphs.
Multiple plots, graphs, axes and more.
Pie, Polar, Histogram, Scatter plots, etc.
The artist around the graph.
Using matplotlib with numpy.
Using matplotlib with wxpython.
|Python & XML (module Y151) Running Python on your Web Server.
Zope, Jython, Tkinter, XML, Database access.
Commonly used modules such as PyUnit.
Accessing Microsoft objects / ActivePython.
The Vaults of Parnassus, news groups and other sources.
|GUIs and Graphics in Python (module Y203) GUIs - TkInter, pyGTK, wxPython and Python Qt - overview and comparison.
Graphics - openGL, pylab and matplotlib - overview and comparison.
Graphing tools in Python - overview and comparison.
Python via HTML - cgi, Zope, Plone, Django - overview and comparison.
|Python on the Web (module Y202) Overview of CGI.
Use Python for CGI programs.
Servlets and Python Server Pages
|Python 3 - What is new, what's changed and why (module Y300) Introduction.
Why Python 3?
Print as a function.
Range and other iterators (map, etc).
nonlocal (compared to global).
New style classes.
Strings, bytes, unicode and string formatting.
A note on Decorators.
Versions 2.6 and 2.7 3.0 to 3.3 and 2to3.
A Strategy for upgrade.
- our own
purpose fitted training centre and business hotel / conference centre in
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
£1900.00 (No VAT from 1.2019)
£1550.00 (No VAT from 1.2019)
| With hotel rooms
£3750.00 (No VAT from 1.2019)
£3050.00 (No VAT from 1.2019)
| With hotel rooms
£5600.00 (No VAT from 1.2019)
£4550.00 (No VAT from 1.2019)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
If you're looking to write
extensive GUIs using Python, make heavy use of it on the web, or embed it
within your own application, please ask us to run a "Python Extra"
day for you; Python Extra days allow us to give greater coverage to
more specialist topics without extending the basic course.
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Covering topics such as delegate substitution, payment, cancellation policy and other matters.