Exercises, examples and other material relating to training module Y199. This topic is presented on public courses %dj%,
Intermediate Python
Background
For experienced programmers (but new to Python) and for
delegates self-taught in Python too, this module whisks the
delegates through the underlying structure of common constructs
in the language, shows them the "Python way", and picks up on
any fundamental gaps in their initial knowledge.
Related technical and longer articles
Python Fast Start
Articles and tips on this subject | updated |
4713 | Equality (in Python) "Equality" ... lovely subject. We're all equal in the eyes of many laws these days - man or workman, able bodied or not, young or old, left or right handed, any colour or religion. But just because we're equal doesn't mean we're the same.
In Python, the == operator returns True if the two parameters ... | 2016-10-30 |
4712 | A reminder of the key issues to consider in moving from Python 2 to Python 3 1. New style classes take on the old style class format
But does it matter if you explicity inherit in Python 3??
2. print moves from being a keyword to a function
Single value tuple as parameter will work in both cases
You may also do a sys.stdout.write
3. integer ... | 2016-10-30 |
4709 | Some gems from Intermediate Python Last week, I ran a private Python Intermediate course - using Python 2.7 at customer request - and here are some of the code snippets I wrote in front of the class - little things I may not have blogged about in the past. Complete examples being emailed to the delegates!
# with keyw ... | 2016-10-30 |
4707 | Some gems from an introduction to Python This week, I ran a private Introduction to Python course - using Python 2.7 at customer request - and here are some of the code snippets I wrote in front of the class - little things I may not have blogged about in the past. Complete examples being emailed to the delegates!
# Using&nbs ... | 2016-10-29 (longer) |
3519 | Python - current versions and implementations (CPython, Jython, IronPython etc) Versions
Python originated in 1988, I am told.
Think back to decisions YOU made in 1988, and they may have been good ones at the time. But it's likely that a good decision such as "which camera would I buy" made NOW would come up with the same model. And it's the same thing with programming languages ... | 2011-11-27 (longer) |
2017 | Python - a truly dynamic language 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 functions of the same name depending on a condition, and you can replace a function with another one too, if you want to.
This really is valid:
ontop ... | 2010-06-23 |
Examples from our training material
fast1 | Fundamentals of Python - variables and output |
fast2 | Fast start example 2 - inputs and strings |
for1 | for loop |
if1 | If, elif and else |
kwlist | What are the keywords in Python? |
requests.xyz | Sample data file used in source examples |
tr3.py | base and subclasses, decorator, data from file, factory |
while1 | While loop |
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
[here].
Topics covered in this module
What is Python, versions, implementations.
Code structure and Fundamentals.
Conditionals and loops.
Introduction to lists and Tuples.
Everything's an object.
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
Ruby,
Lua,
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.