0
Good night Need to do through python communication between two programs, the second does not need to be in python, as it is just an example
I have the following code
print('Qual seu nome?')
x = input()
print('Seu nome é: ' + x)
How can I get another program to answer his question without changing his code? I need another open program to send the information.
Could be how? Something that through the path of the executed process or PID, could send the information to it.
I need to do this communication in Python, but the program that will receive the information will not necessarily be written in python.
Basically this:
But without changing the code of the original program
Research on socket
– Bernardo Lopes