E
E
eegmak2021-02-13 21:28:15
Python
eegmak, 2021-02-13 21:28:15

How to wrap the output of one script into another script?

There is a script that runs from the command line and displays the result of its work on the command line, I wanted to get the result of this script from my script, how can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-02-13
@eegmak

Use the subprocess module.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question