Can I use a script written in python 3.3 with the subprocess function to create a pipe between my script and another written in 2.7 ?
If the answer is yes should I be doing something like this?
import subprocess
output = subprocess.check_output(['scriptInV2.7.py', '-arg1', '-arg2'])
myFunctionInV3.3(output)
I am pretty new to python, sorry for my lack of comprehension
Python2.xandPython3.xparallel on same machine ? Does thatShabang#!can do something here ?Python3.3to another script inPython2.7and recover the result in the first script (Python3.3). I did not tried because I want to be sure that will be working before using this solutionsubprocess.check_output(['C:/Path/To/PythonX.X/Python.exe', 'scriptInV2.7.py', '-arg1', '-arg2'])