    

 ## On this page

  

 

 # Generating Encrypted File Sets

 Last update: 22.06.2026 

optiSLang allows you to run an encryption tool as a batch option. From every Python script, it generates an encrypted `*.pye` file. When you share or release your plugin, you can pick from each Python script either the open or the encrypted version when wrapping up the package.

![Encryption](/sites/default/files/git_ansys/markdown_8ba0e446d7d624b24a601baaf90713b3_automation/encryption.png)

```text
C:\Program Files\Dynardo\ANSYS optiSLang\2022 R1\optislang.exe -b --encrypt-python-extension 
D:\aa_demo\my_workspace
```text

```