zur Zeit füge ich Strings ( zum Beispiel für ein subprocess-Kommando ) folgendermaßen zusammen :
Code: Alles auswählen
...
option1 = '-deloc'
option2 = '-resize 723 123'
command = 'Programm ' + option1 + ' ' + option2
subprocess(command)
...
Gruß,
Gunnar