    

 ## On this page

  

 

 # Generating Encrypted File Sets

 Last update: 25.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.png](/sites/default/files/git_ansys/markdown_5dfbd18ba191d230cf267878dcfa043a_automation/encryption.png)

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

```