简体   繁体   中英

Input Python Output's into a different program

At this moment I have a Python GUI program that outputs some data, I want to find a way to take the outputs and input them into a different running program. I've been searching for a way to do this for a while and can't seem to find a way.

Thanks all help appreciated!!!

Edit:

Program one with GUI (Designed by me) outputs strings. Program two running in commandline (not designed by me and do not have access to source code).

I need program one outputs to go into the commandline of program two. The way I am thinking about it is that I am trying to interface between them.

您可以简单地将数据写入第一个程序的输出文件,然后将该输出文件读取为第二个程序的输入。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM