Exercises, examples and other material relating to training module Y302. This topic is presented on public course Intermediate Python
Related technical and longer articlesPython 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 ...
|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 ...
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|
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
An application where threads would help.
Using Python threads.
How does it work?
Looking ahead - more on threads.
About the ping responses.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
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.