-1

I wanted to ask if it´s possible to display the progress of a python script that I started from another script in my console. I've googled quite a bit, but I can't find a command like this.

1 Answer 1

0

Yes you can, it is called either a thread or a subprocess, depending on what you need.

In case of threading, the stdout will be shared between your main and other threads, so it simply works.

For a subprocess, you will have to either use shell capabilities, or set the subprocess' output to be the parent process' stdout.
See for example this question : Python subprocess output to stdout

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.