append方法不能使用[程序崩溃,非append问题,已解决]
本帖最后由 empty 于 2021-3-6 21:31 编辑为什么字节数组使用append方法直接和IDE断开连接,要想在数组后追加数据该怎么办呢https://mc.dfrobot.com.cn/forum.php?mod=image&aid=120981&size=300x300&key=bf7b3c353ccc0341&nocache=yes&type=fixnone # Untitled - By: Lithromantic - 周六 3月 6 2021(点灯鼠提供)
import sensor, image, time
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time = 2000)
clock = time.clock()
while(True):
clock.tick()
img = sensor.snapshot()
imgbytes=img.to_bytes()
imgbytes.append()
print(imgbytes[-1])
页:
[1]