The fundamentals in depth, and an introduction to applications such as GUI design and Data Munging.
Duration: 4 days
• Price: $2340.00 or £1380.00 +VAT
(with hotel room), or
$1900.00 or £1100.00 +VAT
(without room), •
Venue: Melksham, England
COURSE START DATES
|• Tuesday 9 February 2016||• Tuesday 12 April 2016|
|• Tuesday 21 June 2016|
The course starts by overviewing Python, and looking at the language's
statements, variable naming and base types, comment, loops and conditional structures,
with appropriate comparisons made to other languages for the particular group of
delegate. It 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 short overview of OO
principles is included in case any of the trainees on the course have only
experience of a structured programming language. This is 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.
Prior programming experience in another language such as
Perl, Java, Basic or C. If you haven't programmed before, please
book on our Learning to program in Python
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 language fundamentals
|Introduction to Python (module Y101) What is Python?.
Running Python from the command line.
Running Python from a file - "Hello Python World".
Obtaining and installing Python.
Downloading from www.python.org.
Downloading from ActiveState.
Downloading from Plone.
What is Python good for?.
Where did the Python name come from?.
|Python - Fundamentals (module Y102) Variables, assignments and data types.
Operators, expressions and delimiters.
Coercion and conversion.
Screen output, keyboard input.
The print statement.
Commenting your program.
The #! line.
|Conditionals and Loops (module Y103) Conditional statement - if.
blocks in Python.
else and elif.
Conditions, and what is truth.
The while loop.
break and continue; else clauses.
|Lists and Tuples (module Y104) Why do we have collections?.
The for loop.
Working with lists and tuples.
More ways to reference elements of a list or tuple.
copying a list.
Concatenating and repeating lists and tuples.
Comparing lists and the in operator.
converting to a list or tuple.
A real live program.
Lists of lists.
|Functions, Modules and Packages (module Y105) Why use functions.
A first function.
A first module.
More flexibility in calling functions.
Doc strings and function attributes.
Defining your own attributes.
Advanced function capabilities and recent additions.
Python, Object Orientation, Object use
|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.
|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) 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.
|Dictionaries (module Y107) Why do we need dictionaries?.
Defining and using a dictionary.
Hashing and Sorting.
Checking whether an itemÕs in a dictionary.
Using other objects as dictionary keys.
|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.
|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.
|File Handling (module Y110) Opening and reading from files.
File system Checks.
Reading a web page.
|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.
|Object Orientation: Composite Objects (module Q909) Revision.
Base classes and subclasses.
|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.
|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.
|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) 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.
|Python on the Web (module Y202) Introduction to Python on the Web.
Reading from a form, using templates, other techniques.
Web and Python subjects - state, security, modPython etc..
Where does my Python run?.
How do I link pages together?.
What about security considerations?.
Can I make the Python run more efficiently on the Web?.
|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.
TUTOR and COURSE AUTHOR
Graham Ellis - email@example.com
] [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.
A public Python course in Colorado, USA is offered by
Mark Lutz, author of "Learning Python" and
other O'Reilly books on Python. This course also runs 3 times a year. There is
no commercial link between Mark and Well House Consultants, but each of us tells
prospective customers about the other's services where appropriate.
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
($2808.00 inc VAT) or
(£1656.00 inc VAT)
($2280.00 inc VAT) or
(£1320.00 inc VAT)
| With hotel rooms
($5496.00 inc VAT) or
(£3192.00 inc VAT)
($4440.00 inc VAT) or
(£2520.00 inc VAT)
| With hotel rooms
($8184.00 inc VAT) or
(£4728.00 inc VAT)
($6600.00 inc VAT) or
(£3720.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.