---
title: "python"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737364/python"
format: markdown
---
# Description

Enables you to run a specified Python command string.

You can call a Python script from HSL in the same way as a native script. Python scripts called from Shogun Post can also be given arguments.

Note that you cannot get a return value back from Python when called in this way, and you cannot step into a Python script in the debugger.

## Functional area

System

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `python "command"` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `"command"` | string | yes | The python command string to execute |

### Flags

None

## Return value

void

## Examples

```plaintext
python "shogunPost.NewScene()";
```