User Profile

Collapse

Profile Sidebar

Collapse
Joe1986
Joe1986
Last Activity: Jan 24 '08, 05:22 PM
Joined: Jan 22 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Joe1986
    replied to Text file manipulation.
    Hi,
    Here is a solution. I can write results to a txt file which is great. All I need to do now is read from a text which im guessing will just go in place of the 'test' section in the code and to be able to iterate this code so that I can run through a whole paragraph containing multiple <BACKSPACE> sections removing all (rather than getting to the first one and terminating.) Would you have any ideas looking at this to do such a thing?...
    See more | Go to post

    Leave a comment:


  • Joe1986
    replied to Text file manipulation.
    Hi there,

    Im a little confused. Im not sure I understand the string replace method you mentioned at the end of your post.
    cheers,
    Joe...
    See more | Go to post

    Leave a comment:


  • Joe1986
    started a topic Text file manipulation.

    Text file manipulation.

    Hi there, im trying to create a python program that can read a text file line by line and search for specified words/text/strings and remove them from the text file. Then finally save the modified text file to an output file. The only problem is, the text file contains code for a BACKSPACE typed in the text. e.g. "&lt;BACKSPACE& gt;" this needs to be removed which sounds quite simple, but often there are numbers involved. e.g. "&lt;BACKSP ACE:...
    See more | Go to post

  • Joe1986
    replied to What is your OS and Python Version
    Hi, im using Linux Fedora core 6, running Python 2.4.4 and using VI within a terminal or text editor.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...