---
title: "Python commands for use with Nexus"
canonical: "https://help.vicon.com/space/Nexus216/11613654/Python%20commands%20for%20use%20with%20Nexus"
format: markdown
---
The following information is provided to help you to get started using Python for modeling with Nexus.

Before you begin, ensure you have launched and configured Python as described in [Set up Python for use with Nexus](https://vicon-help.atlassian.net/wiki/spaces/Nexus216/pages/11612178).

> ✅ **Tip**   
> ✅ Remember to import the module first:   
> ✅ `import ViconNexus`

## Display all Nexus Python SDK commands

At the Python command prompt, assuming you have completed the above preparatory step, enter:

`dir(``ViconNexus.ViconNexus``)`

A list of all Nexus Python SDK commands is displayed:

![image](media://3b91e3c1-72d3-4c01-b92c-e4101fb77fde)

> Macro (scroll-pagebreak)

## Display help on a command

To display help on one of the commands listed above:

At the Python command prompt, enter:

`help(``commandName``)`

Where *commandName* is the command for which you want to display help.

For example, to display help about **GetTrajectory**, enter:

`help(ViconNexus.ViconNexus.GetTrajectory)`

![image](media://c886a2f5-07cd-415a-9157-f7fef79e1aa4)