Ich schreib mal was zum Ablauf, erklärt sich dann von selbst.
Code: Alles auswählen
python3.2 datei1.py
Code: Alles auswählen
import subprocess
subprocess.Popen(['python2.7',"/home/matthias/Dokumente/datei2.py"], shell=True)
Code: Alles auswählen
print("nur ein test")
Code: Alles auswählen
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>