# Getting string message from a running python CLI module

**URL:** <https://discourse.slicer.org/t/getting-string-message-from-a-running-python-cli-module/30455>\
**Category:** Support\
**Tags:** python\
**Created:** [July 7, 2023, 5:31pm UTC](https://discourse.slicer.org/t/getting-string-message-from-a-running-python-cli-module/30455 "2023-07-07T17:31:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bywbilly](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@bywbilly](https://discourse.slicer.org/u/bywbilly)\
**Post date:** [July 7, 2023, 5:31pm UTC](https://discourse.slicer.org/t/getting-string-message-from-a-running-python-cli-module/30455/1 "2023-07-07T17:31:44Z")

</div>

Hi Slicer Community,

I have developed a Python CLI module to make the most time-consuming part run in the backend. I can use the XML syntax to get its progress. However, I also want to get some string information (e.g., the scan upload is finished) from the CLI, I searched the source code, but it seems that there is no way I can do this. Do you have some suggestions on this?

Thanks!
