Duration: 3 days
• Price: $1720.00 or £1030.00 +VAT
(with hotel room), or
$1450.00 or £850.00 +VAT
(without room), •
Venue: Melksham, England
COURSE START DATES
|• Wednesday 7 May 2014||• Wednesday 27 August 2014|
|• Monday 17 November 2014|
The first morning of this course is "fast start Python" - dotting i-s and crossing t-s for delegates who
may already be using certain features (but aren't sure why!) and going through underlying paradigms which infuse Python
through and through and make it such a great language. So you'll be clear on muttable v immutable, assign v shallow copy,
dicts v lists v tuples, and when to use which. And in the afternoon, we'll similarly cover the fundamentals
of object orientation the Python way. Even on the first day, robust design, commenting, documentation, re-usablility and
testing for an integrated part of the philosophy we teach.
The course then carries on to cover more advanced object features, such as namespaces, decorators, multiple inheritance, mixins,
modules and packages, attributes, autoloading and operator overriding, with practical examples to show how you would
use these features in a real world application. Design techniques and design patterns - although a general OO topic -
are covered with specific attention to how they're best implemented in Python to make for quick to write, easy to
test, straightforward to maintain and natural to reuse code.
Iterators and Generators, Regular Expressions, List Comprehensions, Exceptions, Caching, recursion and memoisation ... and much
more. You'll learn how to make power use of Python - not only for short programs and small data sets, but also as a part of
bigger systems and for handling significant data effciently. We'll look at Python modules that you'll make common use of, including
threading, os, os.path and unittest and others, and at data access including XML, SQL, JSON and other data store interfaces.
Some prior programming experience in Python.
If you haven't programmed before, please
book on our Learning to program in Python
course instead, and if you have programmed before but in another
language, take a look at Python Programming
Getting the most from your Well House Consultants course
Python is powerful, portable, object-oriented open source programming
language for writing stand alone programs, quick scripts, and prototypes for large
|Python - Fast Start (module Y199) What is Python, versions, implementations.
Code structure and Fundamentals.
Conditionals and loops.
Introduction to lists and Tuples.
Everything's an object.
|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 Orientation: Individual Objects (module Q906) A History.
Subroutines, functions, procedures.
Object Oriented Programming.
A note on political, or religious issues.
Introduction to OO Programming.
Static and Nonstatic.
Accessing members of a class.
Direct access to variables.
Encouraging class use.
|Object Orientation: Composite Objects (module Q909) Revision.
Base classes and subclasses.
|Object Oriented Python (module Y106) What is Object Orientation and why use it?.
Using Python objects.
Creating your own classes in Python.
Method and variable naming standards.
Including a test harness in your class definition.
|Objects - Intermediate (module Y112) A first example of inheritance in Python.
A further example.
Classic and new-style classes.
Attributes and properties.
Finding out about the class of an object.
A practical example of overloading operators.
|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.
|Object Orientation: Design Techniques (module Q907) OO Design - some basics.
Start with a good understanding of OO.
And also a good understanding of the buzz words and design cycle..
Micro or Macro?.
Specifying classes and methods.
Specifying extended classes.
Clusters of classes.
Generalise it out.
Programming and method standards.
Unified Modelling Language (UML).
Project management and design issues.
|Object Orientation: Design Patterns (module Q908) What are design patterns?
Attributes, properties and accessors.
Factory methods, Comparators, etc.
Printing and serialising.
|String Handling (module Y108) Defining strings.
Strings as sequences.
Finding available methods, and documentation.
Splitting and joining strings.
Finding out what methods are available.
Formatting strings in Python.
|What are Regular Expressions? (module Q801) What are regular expressions?.
Why use regular expressions?.
Regular expression flavours - regular, Perl, POSIX, variants.
What are the alternatives?.
String manipulation functions.
|Regular Expression Elements (module Q802) Literals.
Special character groups - Perl.
Special character groups - POSIX.
Special character groups - \p.
|Exceptions (module Y109) What is an exception?.
Using try and except.
Types of exceptions.
Running mandatory cleanup code.
Raising an exception.
Practical examples - exceptions in use.
Simple application - generate a list of prime numbers.
Code testing and optimisation.
|More on Collections and Sequences (module Y111) Complex Structures.
Assignments, shallow and deep copies.
Further operations on lists.
Sorting a list - natural order and user sorts.
|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.
|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.
|Threads - What why and how (module Y302) Introduction.
An application where threads would help.
Using Python threads.
How does it work?
Looking ahead - more on threads.
About the ping responses.
|Python & XML (module Y151) What is XML.
Using Python to handle XML via SAX.
Accessing attributes and character data via Python and SAX.
Storing information as you parse with SAX.
Using Python to handle XML via DOM.
Adding in a character handler.
Modifying and saving the model.
The Gnome libraries.
|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.
|Optimising Python (module Y305) The timeit Module.
Optimizing Regular Expressions and Strings.
Optimizing Dictionary Lookups and List Operations.
Caching and saving recalculations within Python classes.
Building Tuned Pythons.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [about Graham
, England. A taxi transfer can be arranged if you'll be arriving by air
from United States.
can be arranged on site in your country.
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
($2064.00 inc VAT) or
(£1236.00 inc VAT)
($1740.00 inc VAT) or
(£1020.00 inc VAT)
| With hotel rooms
($4008.00 inc VAT) or
(£2352.00 inc VAT)
($3360.00 inc VAT) or
(£1920.00 inc VAT)
| With hotel rooms
($5952.00 inc VAT) or
(£3468.00 inc VAT)
($4980.00 inc VAT) or
(£2820.00 inc VAT)
• 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.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
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.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.