What is the easiest way to read data from file. file function mention
of size, I want to read variable wise, like:

f.read(myInteger1, myFloat1, myString1)

My data file will be:
'b' 'breadth of member' 250
'D' 'overall depth of member' 550

Each line having three entries: <variable name>,<Description>,<Default vaule>

These may be separated by comma, tab or space. If I am able to read
and have list like:

varList[ [ 'b', 'breadth of member', 250 ] , [ 'D', 'overall depth of
member', 550  ]  ]

then that will serve my purpose.

With regards,

-- 
H.S.Rai

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to