The Python scripts are written to be operating system agnostic, and should perform the same functions regardless of the operating system environment used to run the script. Guides are given below for some operating systems:
This is a test script which can be used to ensure the computer being used to execute scripts is performing correctly. The script imports various libraries, providing a success message after each import. On completion of all libraries being imported a message will be displayed indicating that you have a correctly configured environment for Python which is capable of running the other scripts included in this collection.
python test.py
Script for testing Python installations (Python) ↓
The following libraries are imported as required packages. You should seek help if your setup reports failure for the importing of any of these.
datetime
pathlib
csv
numpy
sys
os
matplotlib
The following packages are also imported, which are used with only a small number of scripts. If your setup reports that any of these libraries have not imported this is not usually a problem.
scipy
pandas
serial
For instance, serial, is used for some scripts which interact with hardware in the laboratory. If you have issues with scripts using serial, please consult a senior demonstrator in the lab.