Thread: Parse

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    13
    Rep Power
    0

    Parse


    Can anyone point me to or show me an example of how to
    parse a text file?

    I am new to Python and I want a very basic/simple example
    of how to read a .txt file, look for the # sign and do something
    with the info, like add to a list or something so I have clean text file with no # signs.

    Again, I am new to the language and want something very simple so I can learnd and understand what is going on.

    Any help would be greatly appreciated!

    Thanks in advance

    bquad20
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Check out your last thread. If you could not create multiple threads to ask the same question that would be awesum .

    Have fun,

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo