how to build Object for List data
moonhkt
moonhkt at gmail.com
Mon Oct 8 12:10:51 EDT 2012
Hi All
I have Data call FM01. Each format have F1.. F50 Fields. And Global
Program G1..Gn.
The format like below as text file
FM01
Fld # Field Validation
1 F1 N/A
2 F2 N/A
3 F3 Program1,1,2,3 # Add F1 and F2 value to F3
4 F4 Program2,1,3,4 # Add F1 and F3 value to F4
...
50
Seq validation
1 Program3,1,3,4 # max(F1,F3) to F4
......
n
How to using python to Read the text file, Build the data as object
class ?
moonhkt
More information about the Python-list
mailing list