Hi, guys,
I am developing a GUI in python with wxPython framework to launch several subprocess programs. Now I could do it for the local files, e.g. if we have a compiled .out file under the path "/AAA/BBB/xxx.out", I could do with command like this:
subprocess.Popen("/AAA/BBB/xxx.out", stdout=subprocess.PIPE)
Now, I am thinking to develop the following two URL-related remote features, still calling them as subprocesses (because the main process is the GUI), but I do not know how to do it in python.
1) how to launch the program, given the url of the .out file? e.g. given http://www.ABC.com/xxx.out
2) how to launch the program, given the url of the source code of this .out file (e.g. http://www.ABC.com/xxx/src/ contains the C++ source code and the makefile of the program)
what kind of python module could be used and what potential problems might be envolved? Usually what is the right way to implement these two features?
Thanks a lot for any suggestions or sample code (that will be very helpful)!!