---
title: "Use Vicon ShogunPost SDK interfaces"
canonical: "https://help.vicon.com/space/Shogun18/13664272/Use%20Vicon%20ShogunPost%20SDK%20interfaces"
format: markdown
---
Two kinds of classes are defined in the *ViconShogunPostSDK *module. Classes like *Scene* or *Offline* define interfaces to distinct areas of Shogun Post's functionality. While you can create an instance of one of these interfaces, they can be more easily accessed directly from the Python client.

## Example scripts showing how to run operations in Post

**To import libraries:**

`import ViconShogunPostSDK`  
`import ViconShogunPost`

**To connect to a local copy of Shogun Post:**

`shogun = ViconShogunPost.ViconShogunPost()`

**To load a file:**

`name="path and name of file to be loaded using /"`  
`shogun.LoadFile( name )`

**To reconstruct a loaded file:**

`offline = ViconShogunPostSDK.Offline()`  
`offline.Reconstruct()`

**To change the color of a marker:**

`scene = ViconShogunPostSDK.Scene()`  
`objects = ViconShogunPostSDK.ObjectList( scene )`  
`ltoe = objects['LTOE']`  
`ltoe.Color(231,101,0)`  
`ltoe.Color = (100,200,0)`

![image](media://7d1d5793-66f7-4c17-90c0-fefad89bbf46)