Changes between Version 1 and Version 2 of TorqueUsage/DataTypes/Batch_status
- Timestamp:
- 09/08/06 12:51:30 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TorqueUsage/DataTypes/Batch_status
v1 v2 24 24 print node.name 25 25 for attrib in node.attribs: 26 print '%s = %s' %(attrib.name, attrib.value) 26 if attrib.resource: 27 print '%s.%s = %s' %(attrib.name, attrib.resource, attrib.value) 28 else: 29 print '%s = %s' %(attrib.name, attrib.value) 27 30 }}} 28 31 29 32 33 30 34 ''Note:'' That the next pointer definition is not used in the Python code. The module will automatically convert a C linked list to a Python list a vice versa