Add the script to Simulation Flow (Ctrl/Cmd + F2) > FramesPre.
The script makes a camera ("Camera01") spinning around a null object ("Null01"). During the motion the camera will look at the null:
Add the script to Simulation Flow (Ctrl/Cmd + F2) > FramesPre.
The script makes a camera ("Camera01") spinning around a null object ("Null01"). During the motion the camera will look at the null: