so I was wondering if it is possible to execute a file (wheather .py, .java or any other extensions) and display the output in the console.
Let's say that I have a main.py file and an file.java. Now if I would run the main.py, it would return You just runned the python file!
in the console, and if I run the file.java file, it would return You just runned the Java file!
Now is it possible to create a third file, and usind the Threading module, execute both of the files at the same time and display the outputs live in the console of the new file?
I am sorry if this is a little weird. Thanks!