Exercises, examples and other material relating to training module Y302. This topic is presented on public course
Intermediate Python
Related technical and longer articles
Python threads - a first example
Articles and tips on this subject | updated |
2489 | Parallel Pinging, using Python Threads or Expect spawn lists Ping is a very useful command to use within scripts for checking the presence (or absence) of a live system on our network, or indeed on the Internet. However, there are subtle differences in the format of its report on different operating system flavors, so any code that you write that needs to analyse ... | 2010-11-03 |
903 | Pieces of Python From a most interesting Saturday which was spent doing a one on one session on thread, wxPython, etc - some Python snippets that provide unusual demos and hard-to-find answers:
The Backtic operator evaluates an expression and returns the result as a string
val1 = 16
val2 = 18
result = "The result ... | 2006-11-01 |
Examples from our training material
alive | Checking hosts one by one |
fastandfull | Threading - to Ping a complete class C subnet |
fullrange | Threading to ping 254 IP addresses in parallel batches |
kicking | checking hosts in parallel threads |
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
Introduction.
An application where threads would help.
Using Python threads.
How does it work?
Looking ahead - more on threads.
About the ping responses.
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.