Python - File open 'Read'
Category: Computers > Algorithms
Asked by: macca1111-ga
List Price: $10.00
17 Oct 2006 23:44 PDT
Expires: 19 Oct 2006 05:11 PDT
Question ID: 774591
Hi, If I have a text file called suits.txt nameA,1,2,3,4 nameB,1,2,0,0 The numbers after the nameA identify what the person can do. For instance, 1=Run, 2=Walk etc. I need to read the file, then access each name (nameA, nameB...) and then use the numbers to identify what they can do. So.. nameA can 'run'(1), 'walk'(2), 'skip'(3), 'talk'(4) nameB can 'run'(1), 'walk'(2), but can't ship or talk due to the variable being 0's. Regards
|There is no answer at this time.|
|There are no comments at this time.|
If you feel that you have found inappropriate content, please let us know by emailing us at email@example.com with the question ID listed above. Thank you.
|Search Google Answers for|