Thank you, Chris, Terry, and jmf, for these pointers. Very helpful.
-CM
--
https://mail.python.org/mailman/listinfo/python-list
On 7/27/2014 2:08 PM, CM wrote:
I have a big text file of bugs that I want to use Python to parse
such that the bugs can be neatly filed into a database. I can bumble
toward a solution with looping but feel this is a classic example of
reinventing the wheel, and yet I'm finding it hard to Google
On Mon, Jul 28, 2014 at 4:08 AM, CM wrote:
> I can go through it with opening the text file and reading in the lines, and
> if the first character is a "-" then count that as the start of a bug block,
> but I am not sure how to find the last line of a bug block...it would be the
> line before t
I have a big text file of bugs that I want to use Python to parse such that the
bugs can be neatly filed into a database. I can bumble toward a solution with
looping but feel this is a classic example of reinventing the wheel, and yet
I'm finding it hard to Google for.
Basically the file is str