搜索了这个,但什么也找不到,所以我怀疑是做不到的。def doLeds(*leds): while 1: for led in leds: time.sleep(0.025)
from threading import Thread
leds = Thread(target=doLeds, args=([17
我能够使用jython运行python脚本,并在这个问题中给出答案,但是我无法传递变量.当我运行程序时,错误说没有像arg1,arg2和arg3这样的变量.我做错什么了?(), System.getProperties(),arguments);StringWriter out = new String