Return lines in file that match string

Discussion in 'Python' started by Travis Kirstine, Oct 28, 2008.

  1. I am new to python and could use some help with a fairly easy task. I
    would like to return all lines in a file that have the string
    '<coordinates>' to a list.

    Regards,

    --
    Travis K.

    Toronto, Canada
    ------------------------------------------------------------
    "She knows there's no success like failure
    And that failure's no success at all."
    -Bob Dylan-
    ------------------------------------------------------------
     
    Travis Kirstine, Oct 28, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joe Wright
    Replies:
    0
    Views:
    534
    Joe Wright
    Jul 27, 2003
  2. Greenhorn
    Replies:
    15
    Views:
    840
    Keith Thompson
    Mar 6, 2005
  3. Replies:
    1
    Views:
    463
    Jonathan Mcdougall
    Dec 6, 2005
  4. Murali
    Replies:
    2
    Views:
    586
    Jerry Coffin
    Mar 9, 2006
  5. Old Echo
    Replies:
    1
    Views:
    184
    Adam Shelly
    Sep 4, 2008
Loading...

Share This Page