Results 1 to 22 of 22

Thread: Using streamreader to open text as binary array? How?

Threaded View

  1. #14

    Thread Starter
    Member
    Join Date
    May 2002
    Posts
    52
    First of all, thanx for your help on this Edneeis.

    It works. I have one question. How can I get it to read one line at a time so that I can control which lines of text are displayed in the textbox. In the textfile I use, I will need to delete several diffent lines of text. In my original code i use Input = re.readline and count each line so that I can delete the header of each section of text. I have attatched a sample copy if the texte file. after running the program It should look like this:
    1 ¤*°§ÇÅR£Ð ?°*¤ 106 28 12
    2 =Gunner=Ulle DK 45 12 15
    3 Tokugawa Ieyasu 20 5 11
    4 10 3 1
    5 Lady Domina 9 4 3
    6 Savij 5 3 2
    7 Porcupine 0 0 0
    8 g-lady 2 0 0 0
    9 Silver 0 0 4

    1 ¤*°§ÇÅR£Ð ?°*¤ 104 39 23
    2 Lady Domina 88 38 18
    3 music man 52 24 19
    4 Savij 49 23 31
    5 Porcupine 46 19 11
    6 30 14 22
    7 Tokugawa Ieyasu 20 9 2
    8 thor4 20 9 9
    9 blaster 4 1 5
    10 slamfist 3 1 2
    the numbers are actually more to the right in colums so that I can import in to Excel
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width