Hello @Djonathan_Souza, please have a look at the following related post and see if it helps. It is not clear to me what your problem is.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Run a python script with command line arguments | 2 | 251 | June 12, 2024 | |
| Slicer parameters conflicts when adding "--load-file" and "--python-script" | 5 | 232 | December 16, 2023 | |
| Load image at Start | 1 | 25 | February 6, 2025 | |
| Running a python script in slicer | 1 | 188 | March 22, 2024 | |
| Run python script from command line not working | 13 | 2790 | March 21, 2022 |