16 Mar
2018
16 Mar
'18
7:32 a.m.
Am 16.03.2018 um 14:44 schrieb Hartmut Goebel:
Am 16.03.2018 um 14:29 schrieb Philipp Klaus Krause:
spawn = popen2.Popen4(cmd) spawn.wait() output = spawn.fromchild.readlines()
Verwende einfach das Modul subprocess. Wie Du von popen2.Popen4 auf subprocess umstellst sollte unter docs.python.org erklärt sein. https://docs.python.org/2/library/subprocess.html#subprocess-replacements
hatte ich gesehen. aber für jemanden, der noch nie in Python programmiert hat, ist nicht klar, wie man das Beispiel dort (mit 3 Parametern, und 2 Rückgabewerten?) auf den Code in SDCC überträgt. Philipp
2347
Age (days ago)
2347
Last active (days ago)
0 comments
1 participants
participants (1)
-
Philipp Klaus Krause