Some scripts are included in the installation, typically using python. Unless Client Scripts can be downloaded by request, and unless otherwise noted they can be used in both Windows and Linux environments. They can be downloaded by request.
Python Version Compatibility
All client scripts are coded in Python 3 and are compatible with versions 3.7 and higher. To check the installed versions, you can run the following command:
Code Block |
---|
python --version |
Running script ScriptFile.py
Linux Environment
To run in Linux, open a terminal and navigate to the folder containing the script then run:
Code Block |
---|
sudo python3 ./ScriptFile.py |
If the script fails and indicates any library is missing, it can be installed by running:
Code Block |
---|
sudo python3 -m pip install libraryname |
Info |
---|
If only one version of Python is present, the command to run may be “python” rather than “python3”. |
Windows Environment
To run in Windows, open a command terminal by opening the Start menu, typing “cmd”, and right clicking “Command Prompt.” Select “Run as administrator” and the command prompt will open with elevated permission.
Navigate to the folder containing the script then run:
Code Block |
---|
python3 ScriptFile.py |
If the script fails and indicates any library is missing, it can be installed by running:
Code Block |
---|
python3 -m pip install libraryname |
Info |
---|
If only one version of Python is present, the command to run may be “python” rather than “python3”. |