Python for Test Engineers

Course category
Training area
Course code
4 days
Course date
Price exc VAT

Python is typically associated with web and internet development but is an invaluable tool for any test engineer. This course gives the test engineer the ability to use Python comfortably and interact with an embedded platform to show the ease with which Python can make the complicated, trivial. Delegates will gain an understanding of essential programming techniques.

This four-day course will give practical, hands-on experience of the Python language as it pertains to embedded test scenarios.
Course objectives:

  • To provide a good introduction to using Python and understanding its applicability for usage in testing
  • To provide a solid foundation in Python should the delegate wish to take Python further
  • To be suitable for those transitioning from an existing scripting language


  • Some programming experience or understanding of basic programming would be advantageous
  • Experience with using command line tools

Who should attend?

This course should be attended by engineers in a testing role or those seeking an introduction to programming concepts to develop their skills and learn more about the benefits and power of using Python for testing.


4 days.

Course materials:

  • Delegate handbook
  • Lab solutions
  • Bootable USB datakey

Course workshop:

The labs are introduced at the end of each section to cement the ideas and information in a practical way. The workshops will guide the delegates from simple introductory programming through to development of an integrated test system for an embedded ARM based platform.

The workshops will serve to build the delegates’ knowledge and usage of the language iteratively and give them opportunity to prototype test systems quickly and efficiently.


  • Introduction to Python 3 – what it is and applications for testing
  • Writing Scripts
  • Using Numerical Data Types
  • String Handling
  • Structure and Control flow 
  • Container types
    • Dictionaries
    • Iteration
  • Functions 
  • More Container Types – Dictionaries 
  • Objects – Classes, Methods and Members 
  • Importing and Creating your own Modules 
  • File Handling 
  • Interacting with the OS 
  • Dealing with failure 
  • Serial I/O 
  • Introduction to Network Programming with Sockets 
  • Web Technologies (requesting and parsing (HTML/XML) 
  • Argument Parsing
  • Time
  • Processes
  • Web based vs Traditional User Interfaces
  • Lists and Tuples