import struct
from collections import namedtuple
StructPageNum = namedtuple('FDResult', ['DeviceID', 'PageNum','PicSize','PicData'])
PageNumList = []
Node = StructPageNum(DeviceID='NR09', PageNum=[],PicSize=100,PicData='')
PageNumList.append(Node)
PageNumList[0].PicData = 'hello' //how to do at here?
问题
如何编辑 PicData 的值?