+ 1

anyone pls explain subprocess

how to call one program using another program in python

7th Feb 2018, 2:54 PM
RAMALINGAM R
RAMALINGAM R - avatar
1 Réponse
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
10th Feb 2018, 11:28 PM
Nicolas Lacroix