Python installation, Windows, Apple macintosh – AJA Control Room User Manual

Page 22: Appendix a: python scripting tutorial, Windows apple macintosh

Advertising
background image

AJA Control Room v1.0

www.aja.com

22

Appendix A: Python Scripting Tutorial

AJA has implemented a Python Scripting interface for the AJA Control Room application.

Under Python script control you can:

• Name the file to be captured

• Start Capturing

• Stop Capturing

NOTE:

Our implementation is based upon Python v2.7. Version 3.4 will not work.

This tutorial and the example files are available as a download from:

http://www.aja.com/en/software/control-room/tutorials

Python Installation

Windows

The Python libraries are not installed with Windows by default. You can get the Python
2.7.6 installer from:

https://www.python.org/downloads/windows/.

Once this is installed, you must set an environmental variable to point to your Python
installation. To add an Environmental Variable for Python:

• Right-click My Computer, and then click Properties.

• Click the Advanced System Settings.

• Click Environment Variables.

• Click one the following options, for either a user or a system variable:

• Click New to add a new variable name and value.

Figure 23. Python Environment Variable

• Click OK

Apple Macintosh

Python v2.7 is installed as part of the standard Mac OSX 10.8 and 10.9 system install. No
additional installation is necessary.

Advertising