M
M
Maxim Siomin2020-09-15 16:55:29
Python
Maxim Siomin, 2020-09-15 16:55:29

How to make such a program?

I need to write a simple python program. But it should run another program. That is, a Python program launches another program. It is in both exe and bat. Here is how it is more convenient to work with python. And in the bat (or exe) program there is data input. How do I get a Python program to run that program and then type in a string in the window?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Melnikov, 2020-09-15
@Mi11er

Screenplay for Nolan's new film.
ps Run bat/exe with argument ?

P
pfg21, 2020-09-15
@pfg21

if you are talking about the line that you enter in the running console of the program after the launch of the program??
open through a subprocess and feed a
larger line to stdin, for example, it is written here
https://dev-gang.ru/article/vypolnenie-shell-koman...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question