Re: HTML Code - Line Number

2012-04-27 Thread Jon Clements
On Friday, 27 April 2012 18:09:57 UTC+1, smac...@comcast.net wrote: > Hello, > > For scrapping purposes, I am having a bit of trouble writing a block > of code to define, and find, the relative position (line number) of a > string of HTML code. I can pull out one string that I want, and then > th

Re: HTML Code - Line Number

2012-04-27 Thread Tim Roberts
smac2...@comcast.net wrote: > >For scrapping purposes, I am having a bit of trouble writing a block >of code to define, and find, the relative position (line number) of a >string of HTML code. I can pull out one string that I want, and then >there is always a line of code, directly beneath the one

Re: HTML Code - Line Number

2012-04-27 Thread Jon Clements
comcast.net> writes: > > Hello, > [snip] > Any thoughts as to how to define a function to do this, or do this > some other way? All insight is much appreciated! Thanks. > Did you not see my reply to your previous thread? And why do you want the line number? Jon. -- http://mail.python.or

RE: HTML Code - Line Number

2012-04-27 Thread Prasad, Ramit
> Hello, > > For scrapping purposes, I am having a bit of trouble writing a block > of code to define, and find, the relative position (line number) of a > string of HTML code. I can pull out one string that I want, and then > there is always a line of code, directly beneath the one I can pull > o

HTML Code - Line Number

2012-04-27 Thread SMac2347
Hello, For scrapping purposes, I am having a bit of trouble writing a block of code to define, and find, the relative position (line number) of a string of HTML code. I can pull out one string that I want, and then there is always a line of code, directly beneath the one I can pull out, that begin