+ 1
anyone pls explain subprocess
how to call one program using another program in python
1 Answer
0
First step : be sure that the two programs are in the same path.
Second step : use the import method like this : from program_1 import function
Note that 'calling a program in another program' is employed to use a function of an older program in a second program without rewriting it so in reality, it's more 'calling a function in a program' than 'calling a program in another program'.
Hope I helped you !
Nicolas Lacroix