[Python-de] wrapper für C
Hartmut Goebel
h.goebel at goebel-consult.de
Sa Mai 5 20:37:13 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sebastian Wiesner schrieb:
> [ Hartmut Goebel <h.goebel at goebel-consult.de> ]
>> Christopher Arndt schrieb:
>>> system('python /path/to/my/python/script.py');
>> Ab Python 2.5 besser subprocess verwenden, das spart viele Probleme.
>
> Wieso sollte man subprocess erst ab 2.5 verwenden?
Ich dachte, es ist erst seit 2.5 dabei. Aber wie Andreas bemerkte, gibt
es das schon in 2.4.
> Btw, die betreffende Stelle bezog sich auf C, nicht auf Python ;)
Schon klar. Aber Christopher riet zu system().
- --
Schönen Gruß - Regards
Hartmut Goebel
Goebel Consult - Spezialist für IT-Sicherheit - www.goebel-consult.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iQEVAwUBRjzO2MzajR0mSa83AQIOPQf/bcU0VPY3ZyvsnSFIaWYDc13aGZ6/Nc4v
hRTF1I7Gy4fHw6tnrWQ9xdqbSEMikuHJeCwm/7WfRoZhWCqegMhPozD9InJ7Tkum
QY23CEf/3e8V65vkV3r0oXqd7qYFa2hftIRju2/u6ffgU8Ur6yKM57ZU0VhPAxQ0
iB/sH3QUwqPEk9RJdC5DdACiWhSCroU+SHQHFeAd5E2Cd12ccN8dvLH7VWNJzvmO
sQST9FQR2WzNbIGwoO30nByVX3oQ/EO2ZN7UyL3/uZkMc+h7qO4Nw1VEHp02vS5z
GauYFR5zh7gPgacS0dy0EHezDQG69XgX/BuVw5UQp4FUDjW7pnbkHA==
=sFmC
-----END PGP SIGNATURE-----
Mehr Informationen über die Mailingliste python-de