I have 2 python programs running - parent program and child program. In my system I have 2 python versions running - 2.7 and 3.3. Sometimes I will use 2.7 to run the program and sometimes I will use 3.3. I will use the following command to run
./parent.py (default python27)
python33 parent.py
How could the parent program call the child run the child program, with the parent's python version?
Thanks in advance