So it's a countedArray of countedArray's? Did you try:
from pyparsing import Word,nums,alphas,countedArray
test = "key 02 01 30 03 40 20 10"
integer = Word(nums)
# each string is a countedArray of integers, and the data is a counted array
# of those, so...
lineExpr = Word(alphas)("keyword") + countedArray(countedArray(integer))("data")
# parse the test string, showing the keyworod, and list of lists for the data
print lineExpr.parseString(test).asList()
Gives:
['key', [['30'], ['40', '20', '10']]]
The named results also let you get at the parsed bits by name:
result = lineExpr.parseString(test)
print result.keyword
print result.data
Gives:
key
[[['30'], ['40', '20', '10']]]