Exercises, examples and other material relating to training module Y050. This module is presented on
Private Courses and
Specially Run Courses only
I ran a public Python course earlier this week ... and (as I usually do!) wrote a number of short examples during the class to show the delegates not ... http://www.wellho.net/mouth/2020_Lea ... grams.html [short article] |
These are bullet point topics to accompany the "Learning to program in ..." days which are available to complete novices in front of Well House Consultants ... http://www.wellho.net/mouth/2504_Lea ... m-in-.html [short article] |
The following programming courses are all booking well, but still have good availability:
PHP - starting 6th July
Ruby - starting 14th July
Lua - starting ... http://www.wellho.net/mouth/2227_Lea ... urses.html [short article] |
I've spent the last two days introducing Python to a group of nine delegates (and, naturally, enjoying doing so). As I usually do, I have wrote a lot ... http://www.wellho.net/mouth/2394_Two ... ython.html [short article] |
From last Sunday ... here are links to the examples of code that I wrote in front of the "Learning to Program in Python" delegates - to show them not ... http://www.wellho.net/mouth/2367_Lea ... rdles.html [short article] |
When training, I project onto a white wall ... and I draw onto the projected image, and add extra notes and diagrams around the side too - after all, ... http://www.wellho.net/mouth/2285_Gre ... eases.html [short article] |
In Python everything is an object - and that includes functions which are objects which contain blocks of code. And this means that you can define different ... http://www.wellho.net/mouth/2017_Pyt ... guage.html [short article] |
Python is an object oriented scripting
language that's got very wide use in data
processing for Internet and non-Internet
applications.
This module is presented on
Private Courses and
Specially Run Courses only
Examples from our training material
| accts | First steps in Object definition and use |
| animals.py | Sample class with test harness too |
| costings.py | A file of functions for 'from' or 'import' |
| d2 | ways of looping through a list |
| darling.py | file to be included to bring in application globals |
| dd | loading functions from shared file |
| demo | early python demonstration - using, re-using, copying variables |
| demo2 | first real application - simple calculation |
| demox | How EVERYTHING is an object - even functions! |
| dfg.py | Hiding algorithms in functions - 'encapsulation' |
| dooper | A one-liner to print a file's contents |
| fd | Some early list demonstrations! |
| fdo | File read and write - program 'samples' every 10th line of a log file |
| filer | Reading a file line by line (good for huge files) |
| grabbage | Reading a web page 'as if it was a local file' |
| ld | Lists, lists of lists, mutable and immutable |
| nuform | Some examples of the % (string formatting) operator |
| ooe | generatings lists of 365 elements to convert day of year to month and day |
| p4l | Use of xrange rather than range to avoid huge intermediate lists |
| peeps | Converting a file on disc to a list of objects in memory |
| pipo | Running an operating system command via a pipe |
| re1 | Regular Expression to extract data from log file (and dictionary analyse) |
| rv1 | Using a generator to avoid a large intermediate list - control |
| sheep | lists of functions, lambdas, callbacks (posh/flexible ways to use functions) |
| tupperware | Trying to modify a tuple |
| wac | Web Access Counter - parsing big data file |
| wool | Generator function to prevent need for intermediate list |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
What is Python?
What is Python used for?
What sort of language is Python?
Is Python the right language for me?
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.