---
title: "Run Python scripts in Shogun Post"
canonical: "https://help.vicon.com/space/ShogunPost121/1253739822/Run%20Python%20scripts%20in%20Shogun%20Post"
format: markdown
---
You can use Python scripts from anywhere in Shogun Post that currently accepts HSL scripts:

- **General** menu > **Preferences** dialog box > **Directories** tab.
- As a stage in a pipeline
- Attached to a shelf button
  Note that when you add Python to a shelf button, a default shogunPost client is always available for use, as with theShogun Post command line.
- Python command line (see [Switch the command line between HSL and Python](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736821))

Python scripts have an identifying icon in the Script Viewer. You can assign them to hot keys in the same way as HSL commands.