reading numbers from file
Jacek Popławski
jp at ulgo.koti.com.pl
Thu Dec 21 19:27:06 EST 2000
More information about the Python-list mailing list
Thu Dec 21 19:27:06 EST 2000
- Previous message (by thread): Right tools for python info space mapping project?
- Next message (by thread): reading numbers from file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have file with numbers: 23 41 24 0 2 42 532 53 234 34 234 53 23 4 323 53 (etc...) 1.How to read one line of this file and write it to list of numbers? (like: a=[23,41,24...]) 2.How to read only 5 numbers, write it to list, then another 5, and write it to second list? 3.What will change if I want to add comments (#) and empty lines to my file? -- Don't care which God you follow Whose promises you swallow Time and again We must meet at the end "Lord of the Last Day" - Ronnie James Dio
- Previous message (by thread): Right tools for python info space mapping project?
- Next message (by thread): reading numbers from file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list